solaris 9 gcc

deadpoint deadpoint at adelphia.net
Mon May 10 21:13:27 EDT 2004


gcc does not install with solaris, sun only includes a few gnu 
utilities, see /usr/sfw/bin and /usr/sfw/sbin. if you have the companion 
cd then gcc 2 and 3 are on it and they'll need to be installed.

sun includes samba and apache as part of solaris. samba is installed in 
/usr/sfw and apache is in /usr/apache if i'm not mistaken. if you did 
the full OEM install then they are their.

to make things easier don't compile from source on solaris. head out to 
http://www.sunfreeware.com and download the packages, or just install 
them from the companion cd.

you can setup your environment the nearly the same as you would on 
linux. modify /etc/profile to setup PATH, MANPATH, etc for global 
settings. solaris is a system V style unix so as i'm sure your more 
framiliar with linux/bsd style commands put /usr/ucb first in you path 
first. sun tends to put stuff all over the place so a good PATH to set 
would be:

PATH=/usr/ucb:/usr/bin:/sbin:/usr/sbin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin

darin

anthonyriga wrote:
> I have setup solaris 9 station for a test enviroment
> and trying to install gcc. For some reason gcc did not
> install or when I go to compile samba I get error to
> install gcc. I downloaded gcc 3.4.0 and trying to
> install and I keep getting error saying you must set
> the environment varable CC to a working compiler. And
> the other error says the command cc-conftest -g
> conftest.c failed. Any suggestions? How do I set
> environment varables in Solaris? I was able to compile
> my Realtek drivers for the network card and get on the
> internet before I downloaded gcc so I assume a c
> compiler was installed by default.. I really want to
> get samba and apache going.... 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs  
> http://hotjobs.sweepstakes.yahoo.com/careermakeover 
> 



More information about the nflug mailing list