bootstrap fails, can not find install-sh or install.sh in [...]
Jeffrey A Law
law@cygnus.com
Sun Oct 4 23:44:00 GMT 1998
In message < 199810031850.OAA05110@caip.rutgers.edu >you write:
> I don't know if this has been reported before, but when I build
> egcs on sparc-sun-sunos4.1.4 or mips-sgi-irix6.2, I get the following
> error:
>
> configure: error: can not find install-sh or install.sh in . ./.. ./../..
> make[1]: *** [configure-target-libf2c] Error 1
> make[1]: Leaving directory `/a/caip/a47/u47/ghazi/gcc-testing/sunos-test/eg
> cs-CV
> S19981002'
> make: *** [bootstrap] Error 1
>
> This is happening because the test for install-sh in configure
> looks in "$srcdir $srcdir/.. $srcdir/../.." but the location we are in
> is three levels deep in e.g. sparc-sun-sunos4.1.4/pic/libf2c.
>
> The directory checks in AC_PROG_INSTALL are probably hardcoded
> in autoconf, so its probably easier to fix something locally. Perhaps
> adding symlinks from the currect directory to install-sh in the top
> level directory would work. However I'm not knowledgable enough in the
> multilib stuff to hack this up right away. Can someone help?
I think the easiest thing to do is punt away all the crap to find a suitable
install program and just use the (*@#$ shell script. We've spent far more
time debugging problems with this crud over the years than has ever been saved.
To find the install program from a multilibdir you do something similar to
finding config-ml.in that's seen at the top of the configure.in files in
libf2c and friends, except look for install-sh.
jeff
More information about the Gcc-bugs
mailing list