can't compile current cvs

Herbert Thoma tma@iis.fhg.de
Mon, 06 Jan 2003 22:27:30 +0100


Derek Atkins schrieb:
> 
> 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).

Hmmm, it's defined in my config.h, too.
But gncmod-gnome-utils.c does not #include config.h

I think I will start spreading some
#include "config.h" in the files that cause me problems.
If it works I will send a patch ...

 Herbert.

> >  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

-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Weichselgarten 3, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: tma@iis.fhg.de
www: http://www.iis.fhg.de/