This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/8800: make install fails to find install-sh
- From: hughett at bbl dot med dot upenn dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 3 Dec 2002 16:28:28 -0000
- Subject: bootstrap/8800: make install fails to find install-sh
- Reply-to: hughett at bbl dot med dot upenn dot edu
>Number: 8800
>Category: bootstrap
>Synopsis: make install fails to find install-sh
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 03 08:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Paul Hughett
>Release: gcc-3.2.1
>Organization:
>Environment:
alphaev6-dec-osf4.0f using native cc and make
(Tru64 4.0f)
>Description:
Make install fails with the following error:
...
(cd intl && make all)
...
if test 'yes' = yes; then /bin/sh `case "../../gcc-3.2.1/gcc/../mkinstalldirs" in /*) echo "../../gcc-3.2.1/gcc/../mkinstalldirs" ;; *) echo "../../../gcc-3.2.1/gcc/../mkinstalldirs" ;; esac` /usr/local/gcc-3.2.1/lib; temp=/usr/local/gcc-3.2.1/lib/t-charset.alias; dest=/usr/local/gcc-3.2.1/lib/charset.alias; if test -f /usr/local/gcc-3.2.1/lib/charset.alias; then orig=/usr/local/gcc-3.2.1/lib/charset.alias; sed -f ref-add.sed $orig > $temp; ../../gcc-3.2.1/gcc/../install-sh -c -m 644 $temp $dest; rm -f $temp; else if test no = no; then orig=charset.alias; sed -f ref-add.sed $orig > $temp; ../../gcc-3.2.1/gcc/../install-sh -c -m 644 $temp $dest; rm -f $temp; fi; fi; /bin/sh `case "../../gcc-3.2.1/gcc/../mkinstalldirs" in /*) echo "../../gcc-3.2.1/gcc/../mkinstalldirs" ;; *) echo "../../../gcc-3.2.1/gcc/../mkinstalldirs" ;; esac` /usr/local/gcc-3.2.1/share/locale; test -f /usr/local/gcc-3.2.1/share/locale/locale.alias && orig=/usr/local/gcc-3.2.1/share/locale/locale.alias || orig=../../../gcc-3.2.1/gcc/intl/locale.alias; temp=/usr/local/gcc-3.2.1/share/locale/t-locale.alias; dest=/usr/local/gcc-3.2.1/share/locale/locale.alias; sed -f ref-add.sed $orig > $temp; ../../gcc-3.2.1/gcc/../install-sh -c -m 644 $temp $dest; rm -f $temp; else : ; fi
sh: ../../gcc-3.2.1/gcc/../install-sh: not found
This appears to be the same as bug #7554 reported for gcc 3.1.
>How-To-Repeat:
Bootstrap gcc on this platform using the native tools and
the manual tweak reported in bug #8796. Then type make
install.
>Fix:
After configure but before make install, in the file
$bindir/gcc/intl/Makefile
change the line
INSTALL = ../../gcc-3.2.1/gcc/../install-sh -c
to
INSTALL = ../../../gcc-3.2.1/gcc/../install-sh -c
>Release-Note:
>Audit-Trail:
>Unformatted: