Solved

Installing the gcc package on Solaris 9 Spark

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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…

860 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