bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: GNU gettext 0.12 doesn't compile with objdir


From: Frédéric L . W . Meunier
Subject: Re: GNU gettext 0.12 doesn't compile with objdir
Date: Wed, 21 May 2003 11:57:25 -0300 (BRT)

What I did:

cd /home/fredlwm/tmp/objdir
/usr/local/src/development/gettext-0.12/configure --prefix=/usr 
--disable-dependency-tracking --disable-static --disable-nls
make -j4 CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s

The first make failed due to the -j4. I thought it was due to
objdir and created the symlink. I did another make -j4
CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s and it worked.

Then I did a make -j4 CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s
DESTDIR=/root/install install as root. The -j4 here was a
"mistake" as I never use it in make install. I then manually
moved everything to /usr and ran ldconfig.

There are some differences in the make install logs. I have a
diff at
http://www.fredlwm.hpg.com.br/tmp/gettext_make_install.diff . I
ran the second without -j4 and any gettext libraries in
/usr/lib

The full logs are

http://www.fredlwm.hpg.com.br/tmp/gettext-make_install.txt
http://www.fredlwm.hpg.com.br/tmp/gettext-second_make_install.txt

What I notice are the various

: warning: `libgettextsrc.la' has not been installed in `/usr/lib'
: warning: `/home/fredlwm/tmp/objdir/gettext-tools/lib/libgettextlib.la' has 
not been installed in `/usr/lib'

in the second.

On Wed, 21 May 2003, Bruno Haible wrote:

> F. Meunier writes:
> > I had to
> > recompile it because the first time it also linked to old
> > libraries which were in /usr/lib. I removed them and this time
> > it really worked. I just don't know why it also linked with the
> > old libraries.
> >
> > All binaries linked with libgettextlib had this:
> >
> > libgettextsrc-0.12.so => /usr/lib/libgettextsrc-0.12.so (0x40018000)
> > libgettextlib-0.12.so => /usr/lib/libgettextlib-0.12.so (0x4003b000)
> > libc.so.6 => /lib/libc.so.6 (0x4004a000)
> > libdl.so.2 => /lib/libdl.so.2 (0x4017d000)
> > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> > libgettextlib-0.11.5.so => not found
>
> It sounds like a libtool bug, but I cannot reproduce it: In your
> situation I get
>
> $ ldd /usr/bin/msgfmt
>         libgettextsrc-0.12.so => /usr/lib/libgettextsrc-0.12.so (0x40019000)
>         libgettextlib-0.12.so => /usr/lib/libgettextlib-0.12.so (0x4003b000)
>         libintl.so.2 => /usr/lib/libintl.so.2 (0x4004b000)
>         libc.so.6 => /lib/libc.so.6 (0x40055000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> $ ldd /usr/lib/libgettextlib-0.12.so
>         libintl.so.2 => /usr/lib/libintl.so.2 (0x40015000)
>         libc.so.6 => /lib/libc.so.6 (0x4001f000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> $ ldd /usr/lib/libgettextsrc-0.12.so
>         libgettextlib-0.12.so => /usr/lib/libgettextlib-0.12.so (0x40027000)
>         libintl.so.2 => /usr/lib/libintl.so.2 (0x40037000)
>         libc.so.6 => /lib/libc.so.6 (0x40041000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> which is all correct.




reply via email to

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