I am building gcc version 3.3.2 on my solaris 8 box and it fails at the "make install"
I installed gnu binutils and my configure for gcc looks like this:
./configure --with-gcc-version-trigger=/usr/local/builds/gcc-3.3.2/gcc/version.c --host=sparc-sun-solaris2.8 --prefix=/usr/local/gcc-3.3.2 --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld --norecursion
My env looks like this:
-->env _=/usr/bin/env MANPATH=/usr/man:/usr/local/man:/opt/VRTS/man HZ= PATH=/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ccs/bin:/usr/local/bin:/opt/VRTS/bin:/usr/ucb:/usr/bin/X11:/sbin:/usr/openwin/bin EDITOR=vi LOGNAME=root PS1=[$user@$hostname:$PWD] --> SHELL=/bin/ksh HOME=/ TERM=xterm PWD=/usr/local/builds/gcc-3.3.2 hostname=sunqa TZ=US/Eastern user=root
I am using gnu make that is located in /usr/local/bin and all of the gnu binutils are also located there.
Here is my error on "make install"
................
creating libg2c.la
(cd .libs && rm -f libg2c.la && ln -s ../libg2c.la libg2c.la)
make[4]: Leaving directory `/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/sparcv9/libf2c'
: make ; exec true CC='/usr/local/builds/gcc-3.3.2/gcc/xgcc -B/usr/local/builds/gcc-3.3.2/gcc/ -B/usr/local/gcc-3.3.2/sparc-sun-solaris2.8/bin/ -B/usr/local/gcc-3.3.2/sparc-sun-solaris2.8/lib/ -isystem /usr/local/gcc-3.3.2/sparc-sun-solaris2.8/include' LD='/usr/local/bin/ld' LIBTOOL='/bin/sh ./libtool' WARN_CFLAGS='-W -Wall' CFLAGS='-O2 -g -O2 -m64' CPPFLAGS='' DESTDIR='' AR='ar' RANLIB='true' prefix='/usr/local/gcc-3.3.2' exec_prefix='/usr/local/gcc-3.3.2' libdir='/usr/local/gcc-3.3.2/lib' libsubdir='/usr/local/gcc-3.3.2/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2' tooldir='/usr/local/gcc-3.3.2/sparc-sun-solaris2.8' multi-do DO="all-unilib"
/bin/sh ./../../../mkinstalldirs /usr/local/gcc-3.3.2/lib/sparcv9
/bin/sh ./libtool --mode=install ./../../install-sh -c libg2c.la /usr/local/gcc-3.3.2/lib/sparcv9
./../../install-sh -c .libs/libg2c.so.0.0.0 /usr/local/gcc-3.3.2/lib/sparcv9/libg2c.so.0.0.0
./libtool: ./../../install-sh: not found
make[3]: *** [install] Error 1
make[3]: Leaving directory `/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/sparcv9/libf2c'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory `/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/libf2c'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/libf2c'
make: *** [install-target-libf2c] Error 2
I have searched for two days on this error and cannot find anything relevant.
Can someone help me?
Thanks.
Liz Brosch Thomson-ISI Systems Engineer