You may be interested in these notes I sent to bug-binutils 2 months ago: I'm not thrilled about what happened on solaris... marty -----Original Message----- From: Leisner, Martin Sent: Monday, December 08, 2003 5:02 PM To: 'bug-binutils@xxxxxxx' Cc: 'leisner@xxxxxxxxxxxxxxxx'; 'mleisner@xxxxxxxxxxxxxxxx' Subject: -lintl is not being picked up on solaris 2.8 with binutils 2.14 I don't know much about gettext... But I recently had to make binutils 2.14 and it wouldn't make without --with-included-gettext. I just made gettext-0.13 and installed it. I went back and tried to make binutils No luck -- after some head scratching and reading libintl.h, I noticed that binutils wasn't appending -lintl anywhere... In binutils/binutils when I make INTLLIBS=-lintl it makes with no problem... But autoconf isn't detecting INTTLIBS=-lintl (it sets INTTLIBS to null). Also, when I type make INTTLIBS=-lintl at the top level, -lintl doesn't get passed down... Not sure I understand why... marty (Message inbox:6342) Date: Tue, 16 Dec 2003 14:45:39 EST To: "'Nick Clifton'" <nickc@xxxxxxxxxx>, "Leisner, Martin" <Martin.Leisner@xxxxxxxxxxxxx> cc: "'bug-binutils@xxxxxxx'" <bug-binutils@xxxxxxx>, "'leisner@xxxxxxxxxxxxxxxx'" <leisner@xxxxxxxxxxxxxxxx>, "'mleisner@xxxxxxxxxxxxxxxx'" <mleisner@xxxxxxxxxxxxxxxx> From: "Leisner, Martin" <Martin.Leisner@xxxxxxxxxxxxx> Subject: RE: -lintl is not being picked up on solaris 2.8 with binutils 2. 14 Return-Path: Martin.Leisner@xxxxxxxxxxxxx Delivery-Date: Tue Dec 16 14:45:45 2003 Return-Path: <Martin.Leisner@xxxxxxxxxxxxx> Content-return: allowed MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Length: 2373 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:nickc@xxxxxxxxxx] > Sent: Monday, December 15, 2003 11:25 AM > To: Leisner, Martin > Cc: 'bug-binutils@xxxxxxx'; 'leisner@xxxxxxxxxxxxxxxx'; > 'mleisner@xxxxxxxxxxxxxxxx' > 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 > >