[Spice-devel] vala is now needed?
ykaul at redhat.com
Sat Dec 10 10:52:09 PST 2011
On 12/10/2011 05:05 PM, Hans de Goede wrote:
> 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: 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*
> 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.
--enable-vala was not enough - I had to install vala-tools (which is not
mentioned anywhere, as far as I could tell).
Running ./configure without vala-tools installed should have failed, if
> I hope this helps.
More information about the Spice-devel