kubuntu and gettext

Aaron Larson Aaron at larsonsonline.net
Sun Feb 19 01:03:32 EST 2006


The other day I said I'd try compiling from a fresh kubuntu install.
I'm working my way through it, I'll have something soon...

If I don't have gettext installed then I get the following error.  A
brief look at ./configure output and the source led me to believe that
gettext was intended to be optional, so I thought I'd post the
error.  I can provide more info if you want.

 gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../.. -I../../../../.. -I../../../../.. -I../../../../../lib/libgsf-1.12.3 -I../../../../../lib/goffice-0.0.4 -I../../../../../lib/goffice-0.0.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -DFOOCANVASLIBDIR=\"/usr/local/lib\" -DFOOCANVASDATADIR=\"/usr/local/share\" -DFOOCANVASPIXMAPDIR=\"/usr/local/share/pixmaps\" -DFOOCANVASBINDIR=\"/usr/local/bin\" -DFOOCANVASLOCALSTATEDIR=\"/usr/local/var\" -DFOOCANVASLOCALEDIR=\"\" -DG_LOG_DOMAIN=\"Foocanvas\" -DVERSION=\"1.9.0\" -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -Wno-pointer-sign -MT foo-canvas-text.lo -MD -MP -MF .deps/foo-canvas-text.Tpo -c foo-canvas-text.c  -fPIC -DPIC -o .libs/foo-canvas-text.o
In file included from foo-canvas-text.c:48:
foo-canvas-i18n.h:58:1: error: "gettext" redefined
In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
                 from foo-canvas-text.c:5:
/usr/include/libintl.h:108:1: error: this is the location of the previous definition
In file included from foo-canvas-text.c:48:
foo-canvas-i18n.h:59:1: error: "dgettext" redefined
In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
                 from foo-canvas-text.c:5:
/usr/include/libintl.h:110:1: error: this is the location of the previous definition
In file included from foo-canvas-text.c:48:
foo-canvas-i18n.h:62:1: error: "_" redefined
In file included from foo-canvas-text.c:5:
/usr/include/glib-2.0/glib/gi18n.h:25:1: error: this is the location of the previous definition
make[8]: *** [foo-canvas-text.lo] Error 1
make[8]: Leaving directory `/home/alarson/gnucash-1.9.0/lib/goffice-0.0.4/goffice/cut-n-paste/foocanvas'




More information about the gnucash-devel mailing list