This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"make install" fails when doing a manual bootstrap
- To: gcc at gcc dot gnu dot org
- Subject: "make install" fails when doing a manual bootstrap
- From: Matt_Conway at i2 dot com
- Date: Mon, 25 Jun 2001 19:37:16 -0400
If I use a relative path when configuring like so:
md go; cd go
../gcc-3.0/configure --prefix=/opt/gcc-3.0
I get the following error when running "make install" after performing a
manual booststrap. If I configure using an absolute path to configure, I
have no problems doing a manual bootstrap then install.
The Makefile in the libsupc++ directory looks correct, but something is
overriding its value for INSTALL to an invalid value (one too few on the
'..'s)
gmake[6]: Entering directory
`/disk1/tmp/gcc3/go/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/libsupc++'
/usr/local/bin/bash ../../../../../gcc-3.0/libstdc++-v3/../mkinstalldirs
/opt/gcc-3.0/lib/pthread
mkdir /opt/gcc-3.0/lib/pthread
/usr/local/bin/bash ../libtool --mode=install
../../../../gcc-3.0/libstdc++-v3/../install-sh -c libsupc++.la
/opt/gcc-3.0/lib/pthread/libsupc++.la
../../../../gcc-3.0/libstdc++-v3/../install-sh -c .libs/libsupc++.lai
/opt/gcc-3.0/lib/pthread/libsupc++.la
../libtool: ../../../../gcc-3.0/libstdc++-v3/../install-sh: No such file
or directory
gmake[6]: *** [install-toolexeclibLTLIBRARIES] Error 127
On 06/22/2001 05:24:11 PM David Edelsohn wrote:
>
>
> ../../../../gcc-3.0/libstdc++-v3/../install-sh -c .libs/libsupc++.lai
> /opt/gcc-3.0/lib/pthread/libsupc++.la
> ../libtool: ../../../../gcc-3.0/libstdc++-v3/../install-sh: No such file
> or directory
>
> I think this is complaining that libtool cannot find install-sh, not
that
> install-sh cannot find libsupc++.lai
>
> I configure with the source tree specified as an absolute path
> (e.g., /usr/gnu/src/gcc-3.0), not a relative path (../gcc-3.0), so I do
> not run into this type of problem. You should be able to correct the
> definition of INSTALL in the Makefiles.
>
> This seems like a generic configuration / Makefile problem which
> you should report to the entire list. It will happen to anyone using
> install-sh in the source tree as opposed to a vendor-supplied "install"
> appliation.
>
> David
>