After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585838 - vino fails to build outside soruce tree
vino fails to build outside soruce tree
Status: RESOLVED FIXED
Product: vino
Classification: Applications
Component: Server
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Vino Maintainer(s)
Vino Maintainer(s)
Depends on:
Blocks: 569778
 
 
Reported: 2009-06-15 11:02 UTC by Theppitak Karoonboonyanan
Modified: 2009-06-20 00:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
Access via auto var (548 bytes, patch)
2009-06-15 11:10 UTC, Theppitak Karoonboonyanan
committed Details | Review

Description Theppitak Karoonboonyanan 2009-06-15 11:02:13 UTC
When built from outside source tree, vino fails with following messages:

---8<---
dbus-binding-tool --prefix=vino_dbus_listener --mode=glib-server dbus-interface.xml > dbus-interface-glue.h
Unable to load "dbus-interface.xml": Failed to open file 'dbus-interface.xml': No such file or directory
make[2]: *** [dbus-interface-glue.h] Error 1
make[2]: Leaving directory `/home/thep/build/gnome_git/vino/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thep/build/gnome_git/vino'
make: *** [all] Error 2
---8<---

This is because of this line in server/Makefile.am:

---8<---
dbus-interface-glue.h: dbus-interface.xml
        dbus-binding-tool --prefix=vino_dbus_listener --mode=glib-server dbus-interface.xml > dbus-interface-glue.h
---8<---

dbus-interface.xml is in srcdir. When builddir != srcdir, this file is just missing, unless VPATH is used in the rule.
Comment 1 Theppitak Karoonboonyanan 2009-06-15 11:10:32 UTC
Created attachment 136620 [details] [review]
Access via auto var

Access the source via auto variable, so VPATH is searched.
Comment 2 Jonh Wendell 2009-06-20 00:59:03 UTC
thanks, patch committed.