This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/16363] New: make install fails if configure is given relative path
- From: "wxy at kivera dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2004 19:35:54 -0000
- Subject: [Bug other/16363] New: make install fails if configure is given relative path
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On Solaris platform, if configure is run as:
../gcc-3.4.1/configure --prefix=/install_path/gcc
then "make install" will fail with "../gcc-3.4.1/install-sh not found" error.
The configure will generate a "Makefile" with a line like:
INSTALL = ../gcc-3.4.1/install-sh -c
so when entering into a deeper directory, this file will not be found. This
problem does not show up in linux because there INSTALL is set to /usr/bin/install.
The work around is to give configure an absolute path:
/extract_path/gcc-3.4.1/configure --prefix=/install_path/gcc
This will change the INSTALL to /extract_path/gcc-3.4.1/install-sh -c in Makefile.
The relative path configure worked fine in gcc-3.3.3. I couldn't confirm 3.4.0
on solaris, since that has the "make bootstrap" error.
--
Summary: make install fails if configure is given relative path
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wxy at kivera dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: solaris
GCC host triplet: solaris
GCC target triplet: solaris
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16363