GNOME Bugzilla – Bug 581312
libunique fails to build outside source tree
Last modified: 2009-06-14 10:02:53 UTC
libunique fails to build outside source tree, with following error: ---8<--- Making all in dbus make[4]: Entering directory `/home/thep/build/gnome_git/libunique-1.0.8/unique/dbus' /home/gnome2/bin/dbus-binding-tool \ --mode=glib-server \ --output=uniquebackend-bindings.h \ --prefix=uniquebackend \ uniquebackend-dbus.xml Couldn't stat uniquebackend-dbus.xml: No such file or directory make[4]: *** [uniquebackend-bindings.h] Error 1 make[4]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8/unique/dbus' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8/unique' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8/unique' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8' make: *** [all] Error 2 ---8<--- The uniquebackend-dbus.xml is in srcdir, and is not immediately available when referencing from builddir when builddir != srcdir.
Created attachment 133920 [details] [review] Refer to souce files through VPATH
this should have been fixed slightly differently in commit: f6b609721d86ef2edaf1edd976032a557fbc7c1a by using "$(srcdir)/uniquebackend-dbus.xml" instead.