Anybody using gtkaml on Fedora?

8 views
Skip to first unread message

Vic

unread,
Nov 9, 2010, 10:44:37 AM11/9/10
to gtkaml-dev
Hi All.

I've just found out about the project, and I've spent some time
reading through the examples. I'm really excited about gtkaml.

But I can't use it :-(

I'm currently running Fedora 13 (and Fedora 14 will have the same
problems). The build scripts look to be Debian-reliant - e.g. the pkg-
config calls require libvala rather than vala. Additionally, it would
appear that I need Vala >= 0.12 to use gtkaml - this isn't available
in either Fedora 13 or 14.

I've spent a little while playing with configure.ac to bodge around
the dependency issues - but haven't got that working. Although I got
it to accept my environment (and create the Makefile), the build fails
with an error claiming that "GtkonParser.vala not found in specified
Vala API directories" (it's in CWD at that stage). As I know
absolutely nothing about Vala, that's as far as I'm going without
help.

So - has anyone got gtkaml running on Fedora / RHEL? This could be a
seriously useful tool, but if it's snowed-under with developeritis,
I'll go and look at something else...

Thanks!

Vic.

Vlad Grecescu

unread,
Nov 9, 2010, 12:17:56 PM11/9/10
to gtkam...@googlegroups.com
On Tue, Nov 9, 2010 at 5:44 PM, Vic <goo...@solectronics.co.uk> wrote:
> Hi All.

Hi Vic,

> I've just found out about the project, and I've spent some time
> reading through the examples. I'm really excited about gtkaml.
>
> But I can't use it :-(
>
> I'm currently running Fedora 13 (and Fedora 14 will have the same
> problems). The build scripts look to be Debian-reliant - e.g. the pkg-
> config calls require libvala rather than vala. Additionally, it would
> appear that I need Vala >= 0.12 to use gtkaml - this isn't available
> in either Fedora 13 or 14.

I'm sorry that there's no rpm distribution for gtkaml on Fedora a.t.m.
The build scripts in their form are actually depending on a 'vanilla'
vala installation and nothing more (one from sources, nothing debian
related). So the minimum resistance path for you is to grab
vala-0.11.2 from sources too.

The versions supported by gtkaml-0.4.1 are Vala 0.10.2 and 0.11.2. The
0.11.1 version has the exact problem you're describing: installs a
libvala-0.12.so but the vapi file of vala itself is still named
vala-0.12.vapi (so --pkg vala-0.12 is not working)

Other than building Vala from sources, you have these other options:
- grab a vala rpm from a later fedora version (14 should have 0.10.1)
- grab a vala rpm from the fedora-devel git repository
http://pkgs.fedoraproject.org/gitweb/?p=vala.git;a=log;h=master (just
upgraded to 0.11.2 eight hours ago). You may need some rpm-related
tools to build the rpm
- grab a gtkaml version compatible with vala-0.9.8 (as I suppose
Fedora 13 has?) - there's no such exact version, maybe 0.2.11 would
work (that's the price for living on the edge)

> I've spent a little while playing with configure.ac to bodge around
> the dependency issues - but haven't got that working. Although I got
> it to accept my environment (and create the Makefile), the build fails
> with an error claiming that "GtkonParser.vala not found in specified
> Vala API directories" (it's in CWD at that stage). As I know
> absolutely nothing about Vala, that's as far as I'm going without
> help.

That looks like a blank $(VALA_PKG) definition. I know the feeling
when configure.ac breaks, it's frustrating. Try one of the solutions
above

Remember that even Vala is pre-1.0 stuff. So the shortest path to
success is to keep it installed from source, not at the discretion of
your package mainaner/distro version.

Vlad

Reply all
Reply to author
Forward
0 new messages