kubuntu and gettext
Derek Atkins
warlord at MIT.EDU
Sun Feb 19 09:54:43 EST 2006
Aaron Larson <Aaron at larsonsonline.net> writes:
> 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.
What configure parameters did you use?
> 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-
t!
> ext.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'
Well, this is a compile failure in goffice, which admittedly hasn't
been tested in all potential configurations. It looks like the code
is not properly acquiring the HAVE_GETTEXT setting, or something, but
I'd need to know how you configured first.
It certainly looks like the problem is in foo-canvas-i18n.h
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list