This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

../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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]