Bug 11465 - "make install" fails on Solaris 2.8
Summary: "make install" fails on Solaris 2.8
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 3.3
: P2 minor
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-08 12:56 UTC by David Karnowski
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Karnowski 2003-07-08 12:56:23 UTC
Running Solaris 2.8 on a Sparc processor. Build gcc 3.3 with:
 ./configure --prefix=/etrade/pkgs/gcc/3.3
 make
 make install

The "make install" failed. Relevant output is below. Worked around the problem with:
 ln -s install-sh sparc-sun-solaris2.8/install-sh

Relevant output:
Making install in include
make[4]: Entering directory
`/etrade/home/dkarnows/work/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libffi/include'
make[5]: Entering directory
`/etrade/home/dkarnows/work/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libffi/include'
make[5]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../../mkinstalldirs /etrade/pkgs/gcc/3.3/include
 ../../../install-sh -c -m 644 ./fficonfig.h
/etrade/pkgs/gcc/3.3/include/fficonfig.h
/bin/sh: ../../../install-sh: not found
 ../../../install-sh -c -m 644 ./ffi.h /etrade/pkgs/gcc/3.3/include/ffi.h
/bin/sh: ../../../install-sh: not found
 ../../../install-sh -c -m 644 ./ffi_mips.h /etrade/pkgs/gcc/3.3/include/ffi_mips.h
/bin/sh: ../../../install-sh: not found
make[5]: *** [install-hackDATA] Error 1
make[5]: Leaving directory
`/etrade/home/dkarnows/work/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libffi/include'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory
`/etrade/home/dkarnows/work/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libffi/include'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/etrade/home/dkarnows/work/gcc/gcc-3.3/sparc-sun-solaris2.8/sparcv9/libffi'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/etrade/home/dkarnows/work/gcc/gcc-3.3/sparc-sun-solaris2.8/libffi'
make[1]: *** [install-multi] Error 2
make[1]: Leaving directory
`/etrade/home/dkarnows/work/gcc/gcc-3.3/sparc-sun-solaris2.8/libffi'
make: *** [install-target-libffi] Error 2
Comment 1 Eric Botcazou 2003-07-08 13:13:20 UTC
Fixed in the upcoming GCC 3.3.1.

Note that you should bootstrap the compiler ('make bootstrap') instead of simply
building it ('make'), as prescribed in the docs.