Solved

Installing the gcc package on Solaris 9 Spark

Posted on 2003-12-02
6
848 Views
Last Modified: 2013-12-21
Hi there,
I am trying to istall gcc 3.3.2 on a Sun Blade 2000 running Solaris 9. I have tried gzip, tar -xvf, and pkgadd -d "path". Nothing seems to work. Any suggestions how to approach this problem?

Thank you
0
Comment
Question by:Artfull_Dodger
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
durindil earned 25 total points
ID: 9858623
If you are in the directory with the tar.gz file, you gunzip it, then tar xvf, and then from there do "pkgadd -d ."  the "." tells it to read the package directories there.  You have to be outside of the package directory.
0
 
LVL 18

Assisted Solution

by:liddler
liddler earned 25 total points
ID: 9858655
use the file command, i.e.
file gcc....
this should tell you whete its a file, a tar archive, compressed, zipped, cpio etc...)
Assuming you got the binary package from www.sunfreeware.com.  IT is zipped
gunzip gcc-3.3.2-sol9-sparc-local.gz
pkgadd -d gcc-3.3.2-sol9-sparc-local

should do the trick
0
 
LVL 77

Expert Comment

by:arnold
ID: 9899129
The package is about three gigabyte in size.  Do you have the space to expand it?  Use gcc3.2.3 instead and then you can compile gcc3.3.2 on your own.  You must install the os With the Developer options.

Arnold
0
 
LVL 77

Expert Comment

by:arnold
ID: 9899950
I seem to have previously downloaded a bad/currupted version.  you would need ~400MB of space to expand the gcc package.
then like liddler said. pkgadd -d to add.

Arnold
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CPU monthly average? 12 108
removing nim resources 5 48
Oracle 12c RAC - naming conventions, standards & best practices 4 166
Invalid password trying to cannect to Unix server 2 70
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now