Re: [Evolution-hackers] e-d-s build problem



On Wed, 2005-07-27 at 21:48 +0200, Jules Colding wrote:
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DEVOLUTION_LOCALEDIR=\""/home/colding/opt/evolution/share/locale"\" -DG_LOG_DOMAIN=\"libebook\" -I../.. -I../.. -I../../addressbook -I../../addressbook -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include        -g -O2 -Wall -Wmissing-prototypes  -Wno-sign-compare -c -o Evolution-DataServer-Addressbook-common.lo `test -f 'Evolution-DataServer-Addressbook-common.c' || echo './'`Evolution-DataServer-Addressbook-common.c
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DEVOLUTION_LOCALEDIR=\"/home/colding/opt/evolution/share/locale\" -DG_LOG_DOMAIN=\"libebook\" -I../.. -I../.. -I../../addressbook -I../../addressbook -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -c Evolution-DataServer-Addressbook-common.c -MT Evolution-DataServer-Addressbook-common.lo -MD -MP -MF .deps/Evolution-DataServer-Addressbook-common.TPlo  -fPIC -DPIC -o .libs/Evolution-DataServer-Addressbook-common.o
> In file included from Evolution-DataServer-Addressbook-common.c:9:
> Evolution-DataServer-Addressbook.h:61: error: syntax error before "struct"
> Evolution-DataServer-Addressbook.h:110: error: syntax error before "struct"
> Evolution-DataServer-Addressbook.h:276: error: syntax error before "struct"
> <...lots of those...>


The reason for this error is that ORBIT2_MAYBE_CONST is unknown in the
standard "/usr/include/orbit-2.0/"-files. I have a newer ORBit2
installed in ~/opt/orbit, but there was no way, that I could see, to add
the correct include path to the build.

I added "--includedir=/home/colding/opt/orbit2/include/orbit-2.0" to the
autogen.sh command, but that value just sat unused in the resulting
Makefile in "addressbook/libebook".

Adding ${includedir} manually to the top of INCLUDES fixed it. All other
Makefiles in the addressbook subdir has this problem.

Shouldn't ${includedir} be added to INCLUDES by the configure script?

-- 
  jules





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]