SUMMARY compiling problem

From: Stephen Trew (s.trew@qub.ac.uk)
Date: Mon Oct 14 1996 - 07:33:20 CDT


My original problem was that gcc would not compile, it gave an error message

/usr/ucb/cc: language optional software package not installed

(see below for exact error report)

The answer is Solaris 2.5 does not come with a c compiler!!

The solution is to get a binary of gcc from one of the many gnu sites e.g.

ftp://sunsite.doc.ic.ac.uk/packages/cygnus-gcc-binaries

Thanks to:

njsf@calvin.inesc.pt (Nelson Jose dos Santos Ferreira)
Umesh Vaghela - umesh.vaghela@mpc-uk.com
"Brian T. Wightman" <wightman@sol.acs.uwosh.edu>
tkevans@eplrx7.es.dupont.com (Tim Evans)

> I am trying to complie gcc on a Sparc 20, Solaris 5.5
>
> I ran configure which worked fine, when I did a make LANGUAGE=c this was the
> result:
>
>
> giss1% /usr/ccs/bin/make
> cc -DIN_GCC -DSVR4 -g -I. -I. -I./config \
>
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include\
> " \
> -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
> -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
>
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/sys-in
> clude\" \
> -DTOOL_INCLUDE_DIR=\"/usr/local/sparc-sun-solaris2.5/include\" \
> -c `echo ./cccp.c | sed 's,^\./,,'`
> /usr/ucb/cc: language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `cccp.o'
>
>
> What does languase optional software package mean?
     

<><

---------------------------------------------------------------------
Stephen Trew, School of Geosciences, The Queen's University of Belfast,
Northern Ireland, BT7 1NN. United Kingdom.
Phone: 44-1232-245133 x3367, Fax: 01232 321280
email: s.trew@qub.ac.uk, web: http://boris.qub.ac.uk/stephen/info/index.html
testimony: http://www.gpl.net/customers/kingdom-come/bread401/page07.htm



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:13 CDT