[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: |
Bruno Haible |
Subject: |
Re: GNU gettext 0.12 doesn't compile with objdir |
Date: |
Wed, 21 May 2003 18:29:01 +0200 (CEST) |
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.
> 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.
Bruno