Solaris 5.8 COMPILER!!!
Posted on 2003-03-10
Itsme again, the lowly recent grad who can't figure his way out of a paper bag or a solaris box. Ok here is the problem. I just install 5.8 with a custom install that installed everything...(Solaris Software Group plus OEM). Everything loads up and everything looks. What I really want to do with this machine is install the new gcc and the new apache. I thought I should install the new gcc first. I downloaded the new version and un-tared it and have every set up the way they say to. When I run the configuration script I get thsi error:
Configuring for a sparc-sun-solaris2.8 host.
Created "Makefile" in /export/home/gcc/gcc-3.2.2/objdir using "mh-frag"
/usr/ucb/cc: language optional software package not installed
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
well, I though I set the env var cc/CC and every other version of those that I can think of. What the heck can I do. It seems to me that it is pretty weird that there is no compiler on the system all ready if alot of apps need a complier to run. Any help will be much apprieciated.