Question on installing C (or is there a need to?)

Hello..

I'm new to the Sun Solaris OS (we are using 5.8). It would appear our host_agent requires openssl, and it would appear that this isn't part of the OS in 5.8.

I found a freeware version of openssl, and it requires a Ansi standard C compiler.

When I attempt to issue a 'cc' command it returns the message

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

Now I have the full box on Solaris 8 (about 20 cd's) and the only reference to c is an 'Forte developer 6 update cd". Is this the right C to install?

When I look at the man pages it references a product called SUNWspro, and I went looking for a down-load for that and can't find one.

I was hoping someone could point me to the correct product to install to allow the openssl to build.

I realize that 5.8 isn't the newest, but its what our customer is running and I need to get out host_agent going on that version of Solaris.

Thanks in advance for your help.

JimBo

[1014 byte] By [JimBo] at [2007-11-26 10:00:25]
# 1

> I found a freeware version of openssl, and it

> requires a Ansi standard C compiler.

to compile the software

> When I attempt to issue a 'cc' command it returns the

> message

>

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

> installed

"Language" is some C dialect

> I was hoping someone could point me to the correct

> product to install to allow the openssl to build.

Goto http://www.sunfreeware.com and get a copy of gcc from the 5.8/architecture for your machine.

How to compile using gcc can be found at:

http://www.ilkda.com/compile/index.htm

alan

alanpae at 2007-7-7 1:29:17 > top of Java-index,General,Talk to the Sysop...
# 2

IINM, you can also get Sun's C Compiler suite by downloading the Sun Studio package that's freely available from the Sun download site (http://www.sun.com/downloads)

The /usr/ucb/cc file is just a wrapper shell script -- isn't really a C-compiler. It's there for historical purposes (from the time when Solaris was SunOS and was BSD-based)...

implicate_order at 2007-7-7 1:29:17 > top of Java-index,General,Talk to the Sysop...
# 3

You can simply go to sunfreeware.com and download an openssl package.

They have 3 or 4 different versions. This one is the laest:

http://sunfreeware.com/programlistsparc8.html#openssl098

You can then install it with the pkgadd command.

Message was edited by:

Codename47

Codename47 at 2007-7-7 1:29:17 > top of Java-index,General,Talk to the Sysop...