Bug 15936 - install-sh script not found during "make install"
Summary: install-sh script not found during "make install"
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2004-06-11 08:53 UTC by Steffen Boerm
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: sparc-sun-solaris2.7
Target: sparc-sun-solaris2.7
Build: sparc-sun-solaris2.7
Known to work:
Known to fail:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Boerm 2004-06-11 08:53:37 UTC
I have created a directory gcc-build and configured gcc-3.4.0 by

  ../gcc-3.4.0/configure --prefix=/usr/people/sbo/alpha \
     --with-gnu-ld --with-ld=/usr/people/sbo/alpha/bin/ld \
     --with-gnu-as --with-as=/usr/people/sbo/alpha/bin/as \

Since I am building under Solaris, I also told the configure script to use
/bin/ksh instead of the standard /bin/sh.

"make profiledbootstrap" works just fine (takes several days to complete), but
"make install" fails for a number of libraries (e.g., libf2c) because it wants
to use "../gcc-3.4.0/install-sh". Apparently some Makefiles do not like relative
path names at all.

As a crude bugfix, I have created symbolic links to the gcc-3.4.0 directory in
all subdirectories of the build hierarchy, but this is obviously not the most
elegant solution of all.
Comment 1 Eric Botcazou 2004-06-11 09:07:10 UTC
Configure with an absolute path, as prescribed in: