[Spice-devel] vala is now needed?

Hans de Goede hdegoede at redhat.com
Sat Dec 10 07:05:32 PST 2011


On 12/09/2011 09:56 PM, Yaniv Kaul wrote:
> 1. Too bad there is no proper check for vala when running ./configure (or ./autogen.sh).
> 2. I've have vala installed and installed vala-devel, ./configure passes, yet with 'make' I'm getting:
> make[4]: Entering directory `/home/ykaul/spice-gtk/gtk/controller'
> *** Error: missing valac!
> *** You must run autogen.sh or configure --enable-vala
> I must be missing something.

We are using vala for the controller code, so yes to build *from git* vala
is needed, since vala uses a pre-compiler compiling vala code to
plain c, and we're shippin the generated c code in our tarbals,
vala won't be needed for building release tarbals.

What has happened in your case is that you've like been building from
git for a while, but did a ./configure or ./autogen.sh since your
first "checkout", and since the vala code has changed in git recently,
and you did not run /configure with --enable-vala, the build is now
failing. Re-run ./configure with --enable-vala to make it figure out
where to find all the vala bits it needs to regenerate the C files
generated from the vala files, after that it should build fine.

I hope this helps.



More information about the Spice-devel mailing list