This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
../relative/path/configure causes wrong path for install-sh
- From: Michael Wang <mwang at mindspring dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Jul 2002 04:49:28 -0400
- Subject: ../relative/path/configure causes wrong path for install-sh
when run configure with relative path, for example,
../gcc-3.1.1/configure, it generates wrong path for install-sh.
This will create a problem when "make install".
The problem is shown, and can be recreated with following steps.
--
[root@ziqi:/opt/home/root/Build/e]gzip -dc ../gcc-3.1.1.tar.gz | tar -xf -
[root@ziqi:/opt/home/root/Build/e]ls
gcc-3.1.1
[root@ziqi:/opt/home/root/Build/e]mkdir build
[root@ziqi:/opt/home/root/Build/e]cd build
[root@ziqi:/opt/home/root/Build/e/build]../gcc-3.1.1/configure
[root@ziqi:/opt/home/root/Build/e/build]grep install-sh gcc/intl/Makefile
INSTALL = ../../gcc-3.1.1/gcc/../install-sh -c
[root@ziqi:/opt/home/root/Build/e/build]cd gcc/intl
[root@ziqi:/opt/home/root/Build/e/build/gcc/intl]ls -ls ../../gcc-3.1.1/gcc/../install-sh
../../gcc-3.1.1/gcc/../install-sh: No such file or directory
--
Michael Wang
http://www.unixlabplus.com/