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