[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext
From: |
Alfred M. Szmidt |
Subject: |
Re: gettext |
Date: |
15 Jul 2002 14:59:52 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Bruno Haible <address@hidden> writes:
> 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 paths get hard coded at compile time, if `make install' recompiles
(or even compiles something) the program it is violating the GCS (GNU
Coding Standards).
Using DESTDIR is just a quicker way of supplying all the changed
variables. For example, if you do something like:
$ ./configure --prefix=/usr/local --infodir=/share/info
And then want to install in a different directory, say ~/foo, you
would need to do this:
$ make install prefix=~/foo infodir=~/foo/share/info
With DESTDIR this can be accomplished with (because DESTDIR is
prepended to all installation targets):
$ make install DESTDIR=~/foo
> The recommended way (recommended by the GNU standards) is through the
> DESTDIR variable. Like this:
The GCS does not recommend anything like that, you are probably
referring to the GNU Stow info manual. DESTDIR is an optional
variable according to the GCS.
Cheers,
--
Alfred M. Szmidt
- Re: gettext, Bruno Haible, 2002/07/01
- gettext, Daniel R. Grayson, 2002/07/14
- Re: gettext, Bruno Haible, 2002/07/15
- Re: gettext,
Alfred M. Szmidt <=
- Re: gettext, Bruno Haible, 2002/07/15
- Re: gettext, Alfred M. Szmidt, 2002/07/15
- Re: gettext, Bruno Haible, 2002/07/15
- Re: gettext, Daniel R. Grayson, 2002/07/15
- Re: gettext, Bruno Haible, 2002/07/15
- Re: gettext, Russ Allbery, 2002/07/15
- Re: gettext, Alfred M. Szmidt, 2002/07/15
- Re: gettext, Russ Allbery, 2002/07/15
- Re: gettext, Bob Proulx, 2002/07/15
- Re: gettext, Russ Allbery, 2002/07/15