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 414216 - Fails to build with srcdir != builddir
Fails to build with srcdir != builddir
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
unspecified
Other Linux
: Normal major
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
Depends on:
Blocks: 414139
 
 
Reported: 2007-03-03 12:35 UTC by Loïc Minier
Modified: 2007-03-27 03:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix typo in include which is incorrectly using include path (609 bytes, patch)
2007-03-03 12:35 UTC, Loïc Minier
committed Details | Review

Description Loïc Minier 2007-03-03 12:35:10 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,
Comment 1 Loïc Minier 2007-03-03 12:35:53 UTC
Created attachment 83811 [details] [review]
Fix typo in include which is incorrectly using include path
Comment 2 Matthew Barnes 2007-03-27 03:03:26 UTC
Patch is correct.  Committed to Subversion trunk, revision 1329.

Thanks Loïc!