Re: imlib 1.9.3 compile error on Solaris 2.6



Hi,

The problem seems to be that configure doesn't check for NLS.  I put
ENABLE_NLS in config.h to make it work.  The configure output doesn't
have anything about gettext/NLS.

Lyndon

On Thu, Feb 18, 1999 at 05:49:59PM -0800, Eric McDonald wrote:
> When I ran into this problem, I just inserted a "#define ENABLE_NLS"
> at the top of imlib_config.c (I'm on Solaris 2.6).
> 
> Without ENABLE_NLS defined, the "#define dcgettext..." on line 18 gets
> processed, and this interferes with the use of dcgettext on line 25 of
> /usr/include/libintl.h
> 
> 
> > >From: Lyndon Drake <lyndon@stat.auckland.ac.nz>
> > 
> > >On the following system:
> > >SunOS stat01 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-4
> > >
> > >I get the following error compiling Imlib 1.9.3 (no options except 
> > >--prefix to configure):
> > > :
> > >In file included from /usr/include/locale.h:47,
> > >                 from imlib_config.c:35:
> > >/usr/include/libintl.h:25: parse error before `const'
> > > :
> > 
> > I saw this too.  On checking the ImLib CVS ChangeLog on the web, I found that 
> > Raster had just backed out a whole load of Localisation changes in 1.9.3 as they 
> > weren't compiling everywhere - I assume he means "Not in the US" ;O)
> > 
> > So I gave up, and await a new version with this fixed.  1.9.2 does fine =O)



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