Solved

Installing the gcc package on Solaris 9 Spark

Posted on 2003-12-02
6
850 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

785 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