Where can I find a C Compiler for Solaris 7? I need to install an ssh client on a solaris 7 server. It currently states I need a working cc compiler. I have a gcc (not working either, because I need a cc compiler) Can anyone please assist. Thanks.
I used the package file to load and compile gcc. It saved me some time, or at least I think it did.
I would also look at the readme file before you try to compile ssh. Some times there is a comand line switch that you can use to specify the cc compiler.
cc=gcc
I have also renamed the cc binary to cc.old and created a link from gcc to cc (If all else fails)
Sorry to have to open this thread again but what I have read so far in different threads is confusing. I have downloaded the gcc-2.95.3 and I am trying to configure but I'm getting the typical messages.
./configure: cc: not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Root path is the typical /usr/bin.
Question is what am I doing wrong because it is driving me nuts.
I haven't created a sm-link yet because I keep on getting the error when I typed in "./configure." Just to get it straight, when you refer to complile are you talking about after I used qzip to uncompress the file and after I used tar xvf on the extract the files. When I used each command "gzip -d" and then "tar -xvf" there was no errors involved until I typed ..srclocation/configure.
Life in UNIX is better now. At on piont in the process I forgot to use pkgadd -d. (filename) after decompressing the file and going straight to running the configure.Thanks for not bittling me into the ground by forgetting such a basic step.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.