GNOME Bugzilla – Bug 489223
Can't compile evolution-data-server
Last modified: 2007-10-23 11:51:05 UTC
Steps to reproduce: I am running Ubuntu 7.04 (Gnome 2.18.1). I am trying to compile the evolution-data-server package. The configure script runs without error. When I run make, i get the errors detailed below.. Not sure where to go from here... --------------------------------------------------------------------------- make all-recursive make[1]: Entering directory `/home/dfuller/Desktop/evolution-data-server-1.10.2' Making all in libdb make[2]: Entering directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libdb' Making all in dist make[3]: Entering directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libdb/dist' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libdb/dist' make[3]: Entering directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libdb' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libdb' make[2]: Leaving directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libdb' Making all in win32 make[2]: Entering directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/win32' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/win32' Making all in libedataserver make[2]: Entering directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libedataserver' if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"e-data-server\" -I../libdb/dist -DE_DATA_SERVER_PREFIX=\"/usr/local\" -DEVOLUTION_LOCALEDIR=\""/usr/local/share/locale"\" -DE_DATA_SERVER_EXTENSIONDIR=\"/usr/local/lib/evolution-data-server-1.2/extensions\" -DE_DATA_SERVER_IMAGESDIR=\"/usr/local/share/pixmaps/evolution-data-server\" -DE_DATA_SERVER_UI_GLADEDIR=\""/usr/local/share/evolution-data-server-1.10/glade"\" -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2 -I -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -MT e-msgport.lo -MD -MP -MF ".deps/e-msgport.Tpo" -c -o e-msgport.lo e-msgport.c; \ then mv -f ".deps/e-msgport.Tpo" ".deps/e-msgport.Plo"; else rm -f ".deps/e-msgport.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"e-data-server\" -I../libdb/dist -DE_DATA_SERVER_PREFIX=\"/usr/local\" -DEVOLUTION_LOCALEDIR=\"/usr/local/share/locale\" -DE_DATA_SERVER_EXTENSIONDIR=\"/usr/local/lib/evolution-data-server-1.2/extensions\" -DE_DATA_SERVER_IMAGESDIR=\"/usr/local/share/pixmaps/evolution-data-server\" -DE_DATA_SERVER_UI_GLADEDIR=\"/usr/local/share/evolution-data-server-1.10/glade\" -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2 -I -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -MT e-msgport.lo -MD -MP -MF .deps/e-msgport.Tpo -c e-msgport.c -fPIC -DPIC -o .libs/e-msgport.o e-msgport.c:39:18: error: nspr.h: No such file or directory e-msgport.c:492: error: expected specifier-qualifier-list before 'PRFileDesc' e-msgport.c:504: error: expected ')' before '*' token e-msgport.c:539: error: expected ')' before '*' token e-msgport.c: In function 'e_msgport_new': e-msgport.c:567: error: 'EMsgPort' has no member named 'prpipe' e-msgport.c:568: error: 'EMsgPort' has no member named 'prpipe' e-msgport.c: In function 'e_msgport_destroy': e-msgport.c:584: error: 'EMsgPort' has no member named 'prpipe' e-msgport.c:585: warning: implicit declaration of function 'PR_Close' e-msgport.c:585: error: 'EMsgPort' has no member named 'prpipe' e-msgport.c:586: error: 'EMsgPort' has no member named 'prpipe' e-msgport.c: At top level: e-msgport.c:611: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token e-msgport.c: In function 'e_msgport_put': e-msgport.c:633: error: 'PRFileDesc' undeclared (first use in this function) e-msgport.c:633: error: (Each undeclared identifier is reported only once e-msgport.c:633: error: for each function it appears in.) e-msgport.c:633: error: 'prfd' undeclared (first use in this function) e-msgport.c:656: error: 'EMsgPort' has no member named 'prpipe' e-msgport.c:658: warning: implicit declaration of function 'PR_Write' e-msgport.c:661: warning: implicit declaration of function 'PR_GetError' e-msgport.c:661: error: 'PR_PENDING_INTERRUPT_ERROR' undeclared (first use in this function) e-msgport.c:662: warning: implicit declaration of function 'PR_GetErrorTextLength' e-msgport.c:663: warning: implicit declaration of function 'PR_GetErrorText' e-msgport.c: In function 'e_msgport_wait': e-msgport.c:692: warning: implicit declaration of function 'msgport_sync_with_prpipe' e-msgport.c:692: error: 'EMsgPort' has no member named 'prpipe' e-msgport.c: In function 'e_msgport_get': e-msgport.c:715: error: 'EMsgPort' has no member named 'prpipe' make[2]: *** [e-msgport.lo] Error 1 make[2]: Leaving directory `/home/dfuller/Desktop/evolution-data-server-1.10.2/libedataserver' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dfuller/Desktop/evolution-data-server-1.10.2' make: *** [all] Error 2 Stack trace: Other information:
either install Mozilla libnss for SSL and SMIME support or configure eds with an option --enable-nss=no (but try to install libnss; for me, it's in nss package).
*** This bug has been marked as a duplicate of 356774 ***