[Top][All Lists]
[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 13:48:03 -0300 (BRT) |
On Wed, 21 May 2003, Bruno Haible wrote:
> F. Meunier writes:
> > What I did:
>
> > Then I did a make -j4 CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s
> > DESTDIR=/root/install install as root.
>
> This explains it. So when libgettextsrc was installed, the only
> libgettextlib in /usr/lib was the old one. And when msgfmt was
> installed, the only libgettextsrc in /usr/lib was the old one.
> Apparently libtool and/or the linker prefers the old library in the
> right location to the new library under $DESTDIR.
>
> It's hard to tell whether this is a bug in libtool or not.
>
> Summary: Using DESTDIR can be more fragile than you think.
It looks like a "bug". See
http://mail.gnu.org/archive/html/libtool/2003-05/msg00022.html
>From now on I'll avoid DESTDIR when libtool is used. I thought
it was the better or right approach to create packages.
Probably still not in this case.
Thanks !
> > 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'
>
> These occur regularly when DESTDIR is used.