Evolution 2 plugin from CVS fails to build

Nick Bower <[email protected]>
Newsgroups gmane.comp.gnome.apps.multisync.user
Message-ID <[email protected]>
In Mandrake 10.1, the correct INCLUDES are not configured for the
Evolution2 plugin and autogen doesn't detect Evolution 2 as it is
packaged with Mandrake 10.1.  I had to add the following to the
src/Makefile INCLUDES:

-I/usr/include/evolution-data-server-1.0

However after this there are more problems.  I'm no expert in this build
stuff, so maybe someone can tell me what's going on:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/freetype2/freetype2
-I/usr/include/freetype2/freetype2/config -I/usr/include/libxml2
-I../intl -I../include -I../../../include/
-I/usr/include/evolution-data-server-1.0 -DORBIT2=1 -pthread -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/freetype2/freetype2
-I/usr/include/freetype2/freetype2/config -I/usr/include/libxml2 -g -O2
-Wp,-MD,.deps/evolution_sync.pp -c evolution_sync.c  -fPIC -DPIC
-o .libs/evolution_sync.o
In file included
from /usr/include/evolution-data-server-1.0/libical/icalerror.h:35,

from /usr/include/evolution-data-server-1.0/libical/ical.h:23,

from /usr/include/evolution-data-server-1.0/libecal/e-cal-component.h:28,

from /usr/include/evolution-data-server-1.0/libecal/e-cal-recur.h:27,

from /usr/include/evolution-data-server-1.0/libecal/e-cal.h:29,
from evolution_sync.h:31,
                 from evolution_sync.c:32:
./config.h:35: error: syntax error before '*' token
./config.h:36: error: syntax error before '*' token
evolution_sync.c: In function `sync_connect':
evolution_sync.c:57: error: structure has no member named `client'
evolution_sync.c:60: error: structure has no member named `client'
make[2]: *** [evolution_sync.lo] Error 1
make[2]: Leaving directory
`/custom/build/general/multisync/plugins/evolution2_sync/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/custom/build/general/multisync/plugins/evolution2_sync'
make: *** [all-recursive-am] Error 2


-- 
Nick Bower <[email protected]>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBB2/f+sQtYH7YXyrgRAgMEAKCKm5/WvnnodKEm/mo5mka2gPNeDQCfS5/E
01w4ulQ9B5AOmmENZc7i1KQ=
=yeRa
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.