Hi guys,
I'm having trouble installing GCC 3.4.3 after I build it. Any ideas? Here's what I did:
I downloaded and untarred these files: gcc-core-3.4.3.tar.gz gcc-g++-3.4.3.tar.gz
I then ran these commands: cd gcc-3.4.3/ ./configure --help ./configure --prefix=/usr/people/cjc/big/packages/gcc-3.4.3 make make install
I think "make install" can't find "install-sh", but I can't figure out why, because I can run this:
~/big/packages/gcc-3.4.3$ ls -l install-sh
-rwxrwx--- 1 cjc 7122 Mar 17 19:00 install-sh
Below is the output from "make install". Thanks for any suggestions:
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3 /usr/people/cjc/big/packages/gcc-3.4.3
make[1]: Entering directory `/disk5/cjc/packages/gcc-3.4.3/gcc'
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/libexec/gcc/mips-sgi-irix6.5/3.4.3
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/bin
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/include
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/info
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/lib
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/man/man1
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/man/man7
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++
./install-sh -c g++ /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++
make[1]: ./install-sh: Command not found
make[1]: [c++.install-common] Error 127 (ignored)
chmod a+x /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++
Cannot access /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++: No such file or directory
make[1]: [c++.install-common] Error 1 (ignored)
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/c++
( cd /usr/people/cjc/big/packages/gcc-3.4.3/bin && \
ln g++ c++ )
g++ - No such file or directory
make[1]: [c++.install-common] Error 2 (ignored)
if [ -f cc1plus ] ; then \
if [ -f g++-cross ] ; then \
if [ -d /usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/. ] ; then \
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/g++; \
./install-sh -c g++-cross /usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/g++; \
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/c++; \
( cd /usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin && \
ln g++ c++ ); \
else true; fi; \
else \
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/mips-sgi-irix6.5-g++; \
( cd /usr/people/cjc/big/packages/gcc-3.4.3/bin && \
ln g++ mips-sgi-irix6.5-g++ ); \
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/mips-sgi-irix6.5-c++; \
( cd /usr/people/cjc/big/packages/gcc-3.4.3/bin && \
ln c++ mips-sgi-irix6.5-c++ ); \
fi ; \
fi
g++ - No such file or directory
c++ - No such file or directory
make[1]: [c++.install-common] Error 2 (ignored)
for file in cc1 cc1plus; do \
if [ -f $file ] ; then \
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/libexec/gcc/mips-sgi-irix6.5/3.4.3/$file; \
./install-sh -c $file /usr/people/cjc/big/packages/gcc-3.4.3/libexec/gcc/mips-sgi-irix6.5/3.4.3/$file; \
else true; \
fi; \
done
/bin/sh: ./install-sh: not found
/bin/sh: ./install-sh: not found
make[1]: *** [install-common] Error 127
make[1]: Leaving directory `/disk5/cjc/packages/gcc-3.4.3/gcc'
make: *** [install-gcc] Error 2