GNOME Bugzilla – Bug 396121
Build fails on e-component-listener.c
Last modified: 2013-09-14 16:49:30 UTC
While compiling evolution-data-server 1.9.5, with gcc-4.1.1 and get text 0.16 I get the following error: ccache cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"e-data-server\" -I ../libdb/dist -DE_DATA_SERVER_PREFIX=\"/usr/test/garnome\" -DEVOLUTION_LOCALEDIR =\"/usr/test/garnome/share/locale\" -DE_DATA_SERVER_EXTENSIONDIR=\"/usr/test/gar nome/lib/evolution-data-server-1.2/extensions\" -DE_DATA_SERVER_IMAGESDIR=\"/usr /test/garnome/share/pixmaps/evolution-data-server\" -DE_DATA_SERVER_UI_GLADEDIR= \"/usr/test/garnome/share/evolution-data-server-1.10/glade\" -DORBIT2=1 -pthread -I/usr/test/garnome/include/libxml2 -I/usr/test/garnome/include/glib-2.0 -I/usr /test/garnome/lib/glib-2.0/include -I/usr/test/garnome/include/libbonobo-2.0 -I/ usr/test/garnome/include/orbit-2.0 -I/usr/test/garnome/include/bonobo-activation -2.0 -I/usr/test/garnome/include/gconf/2 -I/usr/test/garnome/include/firefox-2.0 .0.1/nspr -I/usr/test/garnome/include -g -I/usr/test/garnome/include -L/usr/test /garnome/lib -O2 -pipe -m3dnow -mtune=athlon-tbird -Wall -Wmissing-prototypes -W no-sign-compare -MT e-component-listener.lo -MD -MP -MF .deps/e-component-listen er.Tpo -c e-component-listener.c -fPIC -DPIC -o .libs/e-component-listener.o In file included from e-component-listener.c:15: /usr/test/garnome/include/glib-2.0/glib/gi18n-lib.h:27:2: error: #error You must define GETTEXT_PACKAGE before including gi18n-lib.h. make[5]: *** [e-component-listener.lo] Error 1 make[5]: Leaving directory `/usr/download/garnome-2.17.5/desktop/evolution-data- server/work/main.d/evolution-data-server-1.9.5/libedataserver' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/download/garnome-2.17.5/desktop/evolution-data- server/work/main.d/evolution-data-server-1.9.5' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/download/garnome-2.17.5/desktop/evolution-data- server/work/main.d/evolution-data-server-1.9.5' make[2]: *** [build-work/main.d/evolution-data-server-1.9.5/Makefile] Error 2 make[2]: Leaving directory `/usr/download/garnome-2.17.5/desktop/evolution-data- server' make[1]: *** [../../desktop/evolution-data-server/cookies/main.d/install] Error 2 make[1]: Leaving directory `/usr/download/garnome-2.17.5/fifth-toe/gaim' make: *** [paranoid-install] Error 2
I can't see how this can happen, because e-component-listener.c includes config.h, which defines GETTEXT_PACKAGE. Can you replicate this? If so, can you mail me the evolution-data-server/config.h?
Why is this relevant? This is not even the current stable version, 1.10.x. Try it with the newer version, or the experimental, 1.11.x.
Please close as the bug is old