Solved

Installing the gcc package on Solaris 9 Spark

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

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 76

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

708 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

10 Experts available now in Live!

Get 1:1 Help Now