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