GNOME Bugzilla – Bug 761820
configure doesn't fail if libsoup not available
Last modified: 2016-03-02 11:11:28 UTC
Perhaps related to https://bugzilla.gnome.org/show_bug.cgi?id=743316 When compiling latest git master, I get a failure on make: make[3]: Entering directory '/grilo/bindings/vala' VAPIGEN grilo-0.3.vapi make[3]: *** No rule to make target '../../libs/net/GrlNet-0.3.gir', needed by 'grilo-net-0.3.vapi'. Stop. make[3]: Leaving directory '/grilo/bindings/vala' Makefile:410: recipe for target 'all-recursive' failed I see that GrlNet-0.3.gir is a valid target in libs/net/Makefile, however if I try and run make in this directory I get: /grilo/libs/net$ make CC libgrlnet_0.3_la-grl-net-mock.lo grl-net-mock.c:31:26: fatal error: libsoup/soup.h: No such file or directory compilation terminated. Makefile:567: recipe for target 'libgrlnet_0.3_la-grl-net-mock.lo' failed If I install libsoup headers, it successfully compiles.
Created attachment 322839 [details] [review] vala: Move variable assignments outside the conditional Otherwise EXTRA_DIST and co. aren't actually getting set if we're not compiling with Vala.
Created attachment 322840 [details] [review] vala: Fix compilation with Vala enabled and grlnet disabled
Attachment 322839 [details] pushed as 52a23f1 - vala: Move variable assignments outside the conditional Attachment 322840 [details] pushed as a4b13a1 - vala: Fix compilation with Vala enabled and grlnet disabled