[evolution-kolab-devel] Problems compiling kolab-evolution



Hi there,

as I'm a long time evolution user I thought I'd build snapshot packages of 
kolab-evolution for my favorite distribution Fedora. The first problem was that 
we are alreay using gmime-2.5 and I had to patch configure.ac. However the 
second problem is not so trivial. Fedora 14 comes with evolution 2.32 and 
there seem to be some problems with evolution-data-server.

> /bin/sh ../../libtool --silent --tag=CC   --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I../..  -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include   -pthread -DORBIT2=1 -DCAMEL_HAVE_NSS
> -DCAMEL_HAVE_SSL -I/usr/include/evolution-data-server-2.32
> -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/orbit-2.0 -I/usr/include/nss3 -I/usr/include/nspr4
> -I/usr/include/evolution-2.32 -I/usr/include/unique-1.0
> -I/usr/include/libgtkhtml-3.14 -I/usr/include/libgtkhtml-3.14/editor
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/enchant   -DCAMEL_HAVE_NSS
> -DCAMEL_HAVE_SSL -pthread -DORBIT2=1
> -I/usr/include/evolution-data-server-2.32 -I/usr/include/nss3
> -I/usr/include/nspr4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4
> -I/usr/include/orbit-2.0    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> -mtune=generic -Wall -Werror -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -I../../src
> -I../../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o
> libebookbackendkolabgal_la-e-book-backend-factory-kolab-gal.lo `test -f
> 'e-book-backend-factory-kolab-gal.c' || echo
> './'`e-book-backend-factory-kolab-gal.c e-book-backend-kolab.c:61:1:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before
> 'e_book_backend_kolab_load_source' e-book-backend-kolab.c:180:1: error:
> expected '=', ',', ';', 'asm' or '__attribute__' before
> 'e_book_backend_kolab_cancel_operation' e-book-backend-kolab.c:197:32:
> error: expected declaration specifiers or '...' before
> 'GNOME_Evolution_Addressbook_BookMode' e-book-backend-kolab.c: In function
> 'e_book_backend_kolab_class_init': e-book-backend-kolab.c:251:30: error:
> 'e_book_backend_kolab_load_source' undeclared (first use in this function)
> e-book-backend-kolab.c:251:30: note: each undeclared identifier is
> reported only once for each function it appears in
> e-book-backend-kolab.c:265:35: error:
> 'e_book_backend_kolab_cancel_operation' undeclared (first use in this
> function) cc1: warnings being treated as errors
> e-book-backend-kolab.c:267:25: error: assignment from incompatible pointer
> type make[4]: *** [libebookbackendkolab_la-e-book-backend-kolab.lo] Error
> 1 make[4]: *** Waiting for unfinished jobs....
> In file included from e-book-backend-factory-kolab.h:38:0,
> 
>                  from e-book-backend-factory-kolab.c:28:
> /usr/include/evolution-data-server-2.32/camel/camel-object.h:26:2: error:
> #error "Only <camel/camel.h> can be included directly." cc1: warnings
> being treated as errors
> e-book-backend-factory-kolab.c: In function 'eds_module_initialize':
> e-book-backend-factory-kolab.c:38:2: error: implicit declaration of
> function 'camel_type_init' e-book-backend-factory-kolab.c:38:2: error:
> nested extern declaration of 'camel_type_init' make[4]: ***
> [libebookbackendkolab_la-e-book-backend-factory-kolab.lo] Error 1 make[4]:
> Leaving directory
> `/home/chris/linux/rpmbuild/BUILD/evolution-kolab/src/addressbook'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/chris/linux/rpmbuild/BUILD/evolution-kolab/src/addressbook'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/chris/linux/rpmbuild/BUILD/evolution-kolab/src' make[1]: ***
> [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/chris/linux/rpmbuild/BUILD/evolution-kolab' make: *** [all] Error 2

Any ideas how to fix this?

Regards,
Christoph

P.S.: Am I really the first person to send mail to evolution-kolab-devel?

-- 
Christoph Wickert
Senior Engineer

Kolab Systems AG
Zürich, Switzerland

e: wickert kolabsys com
t: +49 251 871 369 77
w: http://kolabsys.com

pgp: 85DACC63 Christoph Wickert

Attachment: signature.asc
Description: This is a digitally signed message part.



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