Re: libgnome HEAD compilation fails



Il gio, 2004-01-22 alle 23:59, Malcolm Tredinnick ha scritto: 
> On Fri, 2004-01-23 at 02:39, Luca Ferretti wrote:
> > here is the gcc output
> > 
> >         gnome-program.c: In function `gnome_program_parse_args':
> >         gnome-program.c:1451: warning: implicit declaration of function
> >         `setlocale'

<snip>

>  Following
> the path of includes here, we can see that locale.h is included (using
> '->' to mean 'includes'):
> 
> gnome-i18nP.h -> gnome-i18n.h -> bonobo-i18n.h -> libintl.h -> locale.h

Mhh, true. Just a question: gnome-program.c includes both gnome-i18nP.h
and  gnome-i18n.h

> So, I think we need more details. What platform are your trying to build
> on (if Linux, what distribution)? 

It's a Mandrake 9.2, BUT I'm installing GNOME CVS HEAD under /opt/dev
with some basic libraries and build tools (autoconf-2.57 automake-1.4-p6
automake-1.7.5 libtool-1.5).

Actually no other module have this issue.

> Are you building from tarballs or CVS?

CVS, latest ChangeLog entry is

2004-01-21  Anders Carlsson  <andersca gnome org>
 
        * libgnome/gnome-program.c: (gnome_program_preinit):
        Translate strings instead of just marking them.
        (Completely fixes #106549, patch by Christian Neumair).

> Look in libgnome/config.h. Do you have "#define ENABLE_NLS 1" (I cannot
> think why this would not be defined, but let's be careful)?

Yes.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]