GNOME Bugzilla – Bug 414216
Fails to build with srcdir != builddir
Last modified: 2007-03-27 03:13:52 UTC
Hi, When building evolution-exchange out of tree it fails with: make[1]: entrant dans le répertoire « /home/lool/jhbuild-gnome-2.18/build/evolution-exchange » Making all in camel make[2]: entrant dans le répertoire « /home/lool/jhbuild-gnome-2.18/build/evolution-exchange/camel » /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/home/lool/jhbuild-gnome-2.18/prefix/include/glib-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/glib-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-data-server-1.10 -DORBIT2=1 -pthread -I/home/lool/jhbuild-gnome-2.18/prefix/include/libsoup-2.2 -I/home/lool/jhbuild-gnome-2.18/prefix/include/glib-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/glib-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/libxml2 -I/home/lool/jhbuild-gnome-2.18/prefix/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-2.10 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libgnome-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libgnomeui-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libbonoboui-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/orbit-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gconf/2 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gnome-vfs-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/gnome-vfs-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/libbonobo-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/bonobo-activation-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libgnomecanvas-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gtk-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libart-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gnome-keyring-1 -I/home/lool/jhbuild-gnome-2.18/prefix/include/pango-1.0 -I/usr/include/freetype2 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/gtk-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/atk-1.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/cairo -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-data-server-1.10 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libglade-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-data-server-1.10/exchange -I/usr/include/libpng12 -DCONNECTOR_LOCALEDIR=\"/home/lool/jhbuild-gnome-2.18/prefix/share/locale\" -DG_LOG_DOMAIN=\"camel-exchange-provider\" -Os -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Wno-sign-compare -MT camel-exchange-summary.lo -MD -MP -MF .deps/camel-exchange-summary.Tpo -c -o camel-exchange-summary.lo /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c gcc -DHAVE_CONFIG_H -I. -I.. -I/home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/home/lool/jhbuild-gnome-2.18/prefix/include/glib-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/glib-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-data-server-1.10 -DORBIT2=1 -pthread -I/home/lool/jhbuild-gnome-2.18/prefix/include/libsoup-2.2 -I/home/lool/jhbuild-gnome-2.18/prefix/include/glib-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/glib-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/libxml2 -I/home/lool/jhbuild-gnome-2.18/prefix/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-2.10 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libgnome-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libgnomeui-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libbonoboui-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/orbit-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gconf/2 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gnome-vfs-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/gnome-vfs-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/libbonobo-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/bonobo-activation-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libgnomecanvas-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gtk-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libart-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/gnome-keyring-1 -I/home/lool/jhbuild-gnome-2.18/prefix/include/pango-1.0 -I/usr/include/freetype2 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/gtk-2.0/include -I/home/lool/jhbuild-gnome-2.18/prefix/include/atk-1.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/cairo -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-data-server-1.10 -I/home/lool/jhbuild-gnome-2.18/prefix/include/libglade-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/include/evolution-data-server-1.10/exchange -I/usr/include/libpng12 -DCONNECTOR_LOCALEDIR=\"/home/lool/jhbuild-gnome-2.18/prefix/share/locale\" -DG_LOG_DOMAIN=\"camel-exchange-provider\" -Os -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Wno-sign-compare -MT camel-exchange-summary.lo -MD -MP -MF .deps/camel-exchange-summary.Tpo -c /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c -fPIC -DPIC -o .libs/camel-exchange-summary.o /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c:31:42: error: camel/camel-exchange-summary.h: No such file or directory /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c: In function 'exchange_summary_init': /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c:82: error: 'CamelExchangeMessageInfo' undeclared (first use in this function) /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c:82: error: (Each undeclared identifier is reported only once /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c:82: error: for each function it appears in.) /home/lool/jhbuild-gnome-2.18/checkout/evolution-exchange/camel/camel-exchange-summary.c: At top level: ... This is due to a typo in an include of camel-exchange-summary.c; I'll attach a patch fixing this include. Bye,
Created attachment 83811 [details] [review] Fix typo in include which is incorrectly using include path
Patch is correct. Committed to Subversion trunk, revision 1329. Thanks Loïc!