[part summary]compiling gcc322 on solaris8 failed

From: Kun Li <likun_at_asiainfo.com>
Date: Tue Mar 25 2003 - 04:30:52 EST
Thanks to John Riddoch, Use GNU make
that solved my problem.

but after that when I need to install the applications, I got
the following error:

#make install
...............
../../../../libstdc++-v3/../install-sh -c -m 644 ${file}
/opt/gcc32/include/c++/3.2.2/./bits; done
/bin/sh: ../../../../libstdc++-v3/../install-sh: not found
/bin/sh: ../../../../libstdc++-v3/../install-sh: not found
/bin/sh: ../../../../libstdc++-v3/../install-sh: not found
/bin/sh: ../../../../libstdc++-v3/../install-sh: not found
............
make[5]: *** [install-data-local] Error 1
make[5]: Leaving directory
`/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory
`/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/libstdc++-v3'
make[1]: *** [install-multi] Error 2
make[1]: Leaving directory
`/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/libstdc++-v3'
make: *** [install-target-libstdc++-v3] Error 2

Is there any bug ?

likun

Original problem as following:
==========================
Hi, everyone, I want to compile gcc 3.2.2 on Solaris8.
I've got a Sun250 with Solaris8 2/02 installed.
then I downloaded gcc3.2.2 binary from sunfreeware website,
and gcc3.2.2 source tarball.

then I installed gcc 3.2.2 binary to my system , used it to compile
gcc3.2.2 source code. then stopped here with the following error:

Making all in testsuite
`echo /tmp/gcc-3.2.2/32bit/gcc/xgcc -shared-libgcc -B/tmp/gcc-3.2.2/32bit/gcc/
-nostdinc++
-L/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src
-L/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs
-B/opt/AISIbasedev8/gcc32/sparc-sun-solaris2.8/bin/
-B/opt/AISIbasedev8/gcc32/sparc-sun-solaris2.8/lib/ -isystem
/opt/AISIbasedev8/gcc32/sparc-sun-solaris2.8/include  -m64 | sed
's/xgcc/g++/g'` -DHAVE_CONFIG_H -I. -I../../../../../libstdc++-v3/testsuite
-I.. -nostdinc++
-I/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/spar
c-sun-solaris2.8
-I/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include
-I../../../../../libstdc++-v3/libsupc++    -g -O2  -m64 -c
../../../../../libstdc++-v3/testsuite/abi_check.cc
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory
/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/testsuite
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory
/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/sparcv9/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `multi-do'
Current working directory
/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-multi'
Current working directory
/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory
/tmp/gcc-3.2.2/32bit/sparc-sun-solaris2.8/libstdc++-v3
*** Error code 1
make: Fatal error: Command failed for target `all-target-libstdc++-v3'

In case someone wonder the reason I want to recompile the gcc3.2.2 source
code, cos I
wanted  to compile a gcc binary that can be installed into another directory.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Mar 25 04:40:56 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:07 EST