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

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

Re: gettext


From: Bruno Haible
Subject: Re: gettext
Date: Mon, 15 Jul 2002 14:18:40 +0200 (CEST)

Daniel R. Grayson writes:
> For some reason libtool doesn't process your library libgettextsrc
> correctly, and it ends up not getting installed.  The relevant error message
> in the output below is
> 
>    libtool: install: error: relink `libgettextsrc.la' with the above command 
> before installing it
> 
> Notice I'm using a different prefix with "make install".
> make prefix=/opt/gettext-0.11.2 exec_prefix=/opt/gettext-0.11.2 -C 
> /mnt/root/tmp/gettext-0.11.2-build  install

Hi,

One cannot give a different prefix to "make" or "make install" than
was given to "configure". That doesn't work because the prefix is
hardcoded in various locations (as shared library runpaths, as
argument to bindtextdomain(), as directory where to search for
auxiliary executables etc.)

The recommended way (recommended by the GNU standards) is through the
DESTDIR variable. Like this:

  ..../configure --prefix=/usr
  make
  make install DESTDIR=/mnt/root

This will install things under /mnt/root/usr, not /usr.

Bruno



reply via email to

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