bug-binutils
[Top][All Lists]
Advanced

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

RE: -lintl is not being picked up on solaris 2.8 with binutils 2. 14


From: Leisner, Martin
Subject: RE: -lintl is not being picked up on solaris 2.8 with binutils 2. 14
Date: Tue, 16 Dec 2003 14:45:39 -0500

I installed gettext before I configured binutils.

I also had the last gettext (0.13) installed in /usr/local.

When I configured again on solaris8, I got:
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for gettext in libintl... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
updating cache .././config.cache

I also had these problems in a previous 2.14 build...it doesn't appear
to have been a problem on 2.13.1  (not positive) -- 
this is on solaris with a gettext installed --
don't know about how it works without a gettext installed.

marty
> -----Original Message-----
> From: Nick Clifton [mailto:address@hidden 
> Sent: Monday, December 15, 2003 11:25 AM
> To: Leisner, Martin
> Cc: 'address@hidden'; 'address@hidden'; 
> 'address@hidden'
> Subject: Re: -lintl is not being picked up on solaris 2.8 
> with binutils 2.14
> 
> 
> Hi Martin,
> 
> > But I recently had to make binutils 2.14 and it wouldn't make
> > without --with-included-gettext.
> 
> Did you try configuring with "--disable-nls" instead ?
> 
> 
> > I just made gettext-0.13 and installed it.
> > I went back and tried to make binutils
> 
> Do you start again from scratch - ie running configure, or did you
> just run "make" in the binutils top-level directory ?  Without a
> reconfigure it is unlikely that binutils will detect the newly
> installed gettext.
> 
> 
> > No luck -- after some head scratching and reading libintl.h, I
> > noticed that binutils wasn't appending -lintl anywhere...
> 
> Probably because when configure ran gettext was not installed, and
> when you ran make again it was just using the cached values and not
> re-running configure.
> 
> > Also, when I type
> >     make INTTLIBS=-lintl 
> > at the top level, -lintl doesn't get passed down...
> >
> > Not sure I understand why...
> 
> INTLLIBS is not one of those variables that gets passed down
> recursively when building binutils.  It is supposed to be set inside
> the binutils sub-directory when configure is run there.
> 
> Cheers
>         Nick
>         
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]