Article View: gnu.utils.bug
Article #244Installation feature request
From: Richard Mlynarik
Date: Sun, 26 Jul 1992 23:24
Date: Sun, 26 Jul 1992 23:24
28 lines
1825 bytes
1825 bytes
I've been installing various GNUish programs at a site where the
"installation" target directory is normally mounted read-only (to
enable replication and to avoid some types of accidental lossage.)
This target directory ("/import/gnu/") is copied from a writable
master directory hierarchy ("/import-writable/gnu/") on a regular
basis.
This causes problems with many of the "configure"-generated makefiles
because it is assumed that the target directory for installing
programs ("/import-writable/gnu/") is the same as the string which is
built into some programs as a default directory for finding
executables or data files.
For example, GCC 2.2.2 has the problem that "libdir" and "libsubdir"
are used both to specify where to install things (install-command) and
as part of a string built into some executables (eg cccp.o, gcc.o)
Note that it doesn't completely work to specify libdir as a relative
directory ("../../") because that means that a relative directory name
will get built into the exectutables.
Many other GNU installations break similarly in this situation.
It would be nice if people would make the effort to provide two
separate makefile variables for the two different cases of specifying
* where to install executables and data and where programs should
write shared data (eg find database)
* where to expect to find installed executables and read-only data
(eg gcc include and compiler phases.)
Technical Details
Message-ID:
<9207262324.AA19710@august>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ai.mit.edu!mlyShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ai.mit.edu!mly From: mly@ai.mit.edu (Richard Mlynarik) Subject: Installation feature request Message-ID: <9207262324.AA19710@august> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sun, 26 Jul 1992 23:24:40 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 29