Compiling programs

Hi guys
i have posted a thread months ago and a guy called dukenuke or smething like that told me that i have to install Sun Studio if i want to be able to compile programs. I have installed Sun Studio 12 and put it in my PATH but no success compiling anything. when i download some source (tar.gz) and extract it and try to run the "./configure" script im getting a lot of errors like i dont have compiler at all. I dont have "make" also. Could you please advice me what shall i do in this case to get this work? I need to have those tools like gcc,cc,make ....etc.

thanks guys

vladi,

Many of the configure scripts explicitly look for gcc, make, etc. You should read the README file that comes with the tar/gz to know how to compile without using gcc.

i would look at "./configure -help" what your configure-files are looking for, most of them, if you haven't installed gcc, are looking for $CC, so perhabs a "export CC=/opt/SUNWspro/bin/cc" is enough....
(not sure if the path is still valid with SS12, i am using studio11 here)

regards
PRESSY