This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/15379] New: 'make install' fails
- From: "andreas at florath dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2004 17:26:08 -0000
- Subject: [Bug bootstrap/15379] New: 'make install' fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
After (successfully) building of the compiler, a 'make install' failes with the
error:
/bin/sh ../../gcc-3.4.0/gcc/mkinstalldirs /appl/tmo/be3/pkg/pre1/info
/bin/sh ../../gcc-3.4.0/gcc/mkinstalldirs /appl/tmo/be3/pkg/pre1/lib
/bin/sh ../../gcc-3.4.0/gcc/mkinstalldirs /appl/tmo/be3/pkg/pre1/man/man1
/bin/sh ../../gcc-3.4.0/gcc/mkinstalldirs /appl/tmo/be3/pkg/pre1/man/man7
for file in cc1 ; do \
if [ -f $file ] ; then \
rm -f /appl/tmo/be3/pkg/pre1/libexec/gcc/sparc-sun-solaris2.8/3.4.0/$file; \
../gcc-3.4.0/install-sh -c $file
/appl/tmo/be3/pkg/pre1/libexec/gcc/sparc-sun-solaris2.8/3.4.0/$file; \
else true; \
fi; \
done
/bin/sh: ../gcc-3.4.0/install-sh: not found
make[2]: *** [install-common] Error 1
make[2]: Leaving directory `/appl/tmo/be3/tmp/gcc-compile/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/appl/tmo/be3/tmp/gcc-compile'
Configure was called with:
../gcc-3.4.0/configure --prefix=/appl/tmo/be3/pkg/pre1 --enable-shared
--enable-threads --enable-languages=c --disable-libgcj --disable-multilib
make version:
GNU Make 3.80
After changing the line
INSTALL = ../../gcc-3.4.0/gcc/../install-sh -c
to
INSTALL=../../gcc-3.4.0/gcc/../install-sh -c
in the file gcc/Makefile
(i. e. deleting the spaces around the equal sign)
the make uses the correct version of the INSTALL variable.
The '../gcc-3.4.0/install-sh' is from the main Makefile where INSTALL is set to
this value.
I'm not sure, if this is a problem with the Makefile(.in) or with the 'make'
command itself.
Best regards
Andreas Florath
--
Summary: 'make install' fails
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: andreas at florath dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15379