Help in Installing GCC4.2.1 on Solaris server
Hua Jie Lee
h.lee2@pgrad.unimelb.edu.au
Sat Sep 15 20:26:00 GMT 2007
Hi again,
Lee here again. I have uninstall the previous version and am trying to
install GCC4.2.1 on my Solaris Sun server. And the server itself has GCC
older version.
I followed the steps according to http://www.sunfreeware.com/gcc.html
I managed to unpack the tar file and create Objdir. In the Objdir, I
execute Make and Make install however I get the below problem:-
Make
Assembler: gcov.c
"/var/tmp//cc7aosLC.s", line 21363 : Trouble closing elf file
make[3]: *** [gcov.o] Error 1
make[3]: Leaving directory
`/mount/autofs/home_pgrad/leehj/gcc-4.2.1/objdir/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/mount/autofs/home_pgrad/leehj/gcc-4.2.1/objdir'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/mount/autofs/home_pgrad/leehj/gcc-4.2.1/objdir'
make: *** [all] Error 2
Make install
make[1]: Entering directory `/mount/autofs/home_pgrad/leehj/gcc-4.2.1/objdir'
/bin/sh ../mkinstalldirs /usr/local /usr/local
/bin/sh: ./fixincludes: does not exist
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/mount/autofs/home_pgrad/leehj/gcc-4.2.1/objdir'
make: *** [install] Error 2
I did set my path in /usr/local/bin in the Bash file.
Please tell me what is wrong with the steps of the installation and how
could I proceed.
Thanks.
Rgrds,
Lee
More information about the Gcc-help
mailing list