kubuntu and gettext

Derek Atkins warlord at MIT.EDU
Sun Feb 19 17:07:34 EST 2006


Quoting Aaron Larson <Aaron at larsonsonline.net>:

> AL> I removed gettext, applied the patch, and did ./configure and a make
> AL> foo-canvas-text.lo, and it built.  I'll do a rebuild from clean to
> AL> make sure it didn't break anything else.  I should have an answer
> AL> tonite.  I definitely need a faster test machine :-(
>
> Sorry, no joy.
>
[snip]
> In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
>                 from dialog-account.c:28:
> /usr/include/libintl.h:40: error: syntax error before 'const'
> /usr/include/libintl.h:44: error: syntax error before 'const'
> /usr/include/libintl.h:51: error: syntax error before 'const'
> /usr/include/libintl.h:81: error: syntax error before 'const'
> /usr/include/libintl.h:85: error: syntax error before 'const'
> /usr/include/libintl.h:90: error: syntax error before 'const'
> In file included from dialog-account.c:28:
> /usr/include/glib-2.0/glib/gi18n.h:25:1: error: "_" redefined
> In file included from /usr/include/libgnome-2.0/libgnome/gnome-i18n.h:40,
>                 from /usr/include/libgnome-2.0/libgnome/libgnome.h:30,
>                 from /usr/include/libgnomeui-2.0/gnome.h:5,
>                 from dialog-account.c:27:
> /usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:69:1: error: this is 
> the location of the previous definition
> make[2]: *** [dialog-account.lo] Error 1
> make[2]: Leaving directory `/home/alarson/gnucash-1.9.0/src/gnome-utils'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/alarson/gnucash-1.9.0/src/gnome-utils'
> make: *** [all] Error 2

Hmm, so bonobo-i18n.h is conflicting with gi18n.h....   Neither of these
files are owned by GnuCash...  So it's possble that in your particular case
you just cannot compile without gettext.

-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