can't compile current cvs

Derek Atkins warlord@MIT.EDU
06 Jan 2003 16:03:37 -0500


Herbert Thoma <tma@iis.fhg.de> writes:

> The problem is /opt/gnome/include/gnome-1.0/libgnome/gnome-i18n.h:
> <...>
[snip]
> <...>
> 
> gettext is defined in libintl.h and if ENABLE_NLS is not defined then it gets
> redefined.
> 
> Is gnome-i18n.h the same on your system or do you have something like -DENABLE_NLS
> in your $CFLAGS?

Yes, gnome-i18n.h is the same on my system.  However, when I started
looking for ENABLE_NLS, I found this in my config.h at the top level
of my gnucash build directory:

        #define ENABLE_NLS 1

So, it looks like configure is able to set ENABLE_NLS, at least on my
system.  But it looks like it is not setting it on yours.  This looks
like it's coming from the AM_GNU_GETTEXT macro, which appears to be
defined outside of GnuCash (I found it in my aclocal.m4).

>  Herbert.

-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@MIT.EDU                        PGP key available