SUN Studio Installation and C Compiler

Hi all,

I am looking for C compiler on UltraSPARC server with SUN Solaris 9.I have downloaded SUN Studio 11 (studio11-sol-sparc.tar.bz2) and install it using batch installer.The installation process shows agreement page while the installation is continuing (I guess). However, the process tooks too long (more than 10 hours) and I forced to break the process and verify that the cc command is not found in the installed directory.

I need to compile c program using "cc" command. My question is:

1)Did I download the correct software for c compiler?

2)What could possibly wrong with my installation process? How to verify?

3)Is SUN Studio 11 chargable? What other alternative do I have to compile c program (I do not need other compiler or IDE)?

Thank you.

Rgrds,

TTKong

[827 byte] By [ttkong] at [2007-11-26 8:29:31]
# 1
Please try other installers. I also was not able to install Sun Studio using batch installer, only the GUI one.And Sun Studio 11 is [i]not[/i] chargeable.
MaximKartashev at 2007-7-6 21:48:20 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

[b]I have installed using the ./installer -nodisplay.After completion the following displayed:[/b]

More Information:

Log file: /var/sadm/install/logs/Sun_Studio_Software_install.B07061730

ProductResultMore Info

1. Sun Studio SoftwareFailedAvailable

2. Solaris patches Installed Available

3. DocumentationInstalled Available

4. Source DistributionInstalled Available

5. Sun Performance Library Installed Available

6. Done

Enter the number corresponding to the desired selection for more

information, or enter 6 to continue [6] {"!" exits}:

[b][b]And... when I open the log file -[/b] Sun_Studio_Software_install.B07061730, and locate the failed package:[/b]

Installing Package: SPROidext

Processing package instance <SPROidext> from </informix/sun-studio/CD1/kits/ide/packages>

Sun Studio 11 Branding files

(sparc) 11.0,REV=2005.10.13

Using </opt> as the package base directory.

## Processing package information.

## Processing system information.

33 package pathnames are already properly installed.

## Verifying package dependencies.

WARNING:

The <SUNWbash> package "GNU Bourne-Again shell" is a

prerequisite package and should be installed.

Installation of <SPROidext> was suspended Copyright 2005 Sun Microsystems, Inc. All rights reserved.

(administration).

No changes were made to the system.

Error: pkgadd failed for SPROidext

Install complete. Package: SPROidext

Any idea what does it mean?

Thanks.

ttkong at 2007-7-6 21:48:20 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
Yes, SUNWbash package is missing, which means it didn't find bash installed on your system. I guess it must be somewhere on installation CD, but you can also download it from sunfreeware.com (ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/bash-3.1-sol9-sparc-local.gz)
MaximKartashev at 2007-7-6 21:48:20 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4

No, bash from sunfreeware.com is not SUNWbash. We already tested it. It will not work. You have to get SUNWbash from Solaris compantion CD. I am suprise to see you don't have SUNWbash with Solaris 9. It becomes default in Solaris 9 and 10. Did you install Solaris 9 using Development or Entire Distribution option?

Beside Solaris companion CD, you can download Solaris companion CD image or individual package at http://www.sun.com/software/solaris/freeware/

-Ngoc

NgocNguyen at 2007-7-6 21:48:20 > top of Java-index,Development Tools,Solaris and Linux Development Tools...