Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Install GCC 3.4.0 on Solaris 8?

Status
Not open for further replies.

rishath

Programmer
Jan 20, 2004
59
US
Hi! Its me again! Sorry for bothering you guys with so many questions. But, I'm a newbee here! Trying to learn Solaris.
Guys, I was installing Apache 2 on solaris 8, but i'm not able to make the file as it says "gcc: no", GCC is not installed in my system.

I would like to know the steps I must follow to intall GCC 3.4.0, I think i have to go with the binaries as I don't have any C compiler to make the source code. Can you give me the steps involved! Help please!
Thanks,
 
Go to and download the application you need... This application will come in a .gz compressed format. Download the application gzip-1.3.5.tar file from the same site.
 
I followed the procedure mentioned by you. Everything went on fine, but while installation I got the following error

Code:
The following packages are available:
  1  SMCgcc     gcc
                (sparc) 2.95.2

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 

Processing package instance <SMCgcc> from 
</export/gcc-2.95.2-sol8-sparc-local>

gcc
(sparc) 2.95.2
May 23 16:10:31 uwin ufs: NOTICE: alloc: /var: file system full
cpio: Cannot write "reloc/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/cc1", 
errno 28
, No space left on device
cpio: Cannot write 
"reloc/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/cc1chill", err
no 28, No space left on device
cpio: Bad magic number/header.
3 errors
pkgadd: ERROR: attempt to process datastream failed
    - process </usr/bin/cpio -icdumD -C 512> failed, exit code 3
pkgadd: ERROR: unable to unpack datastream

Installation of <SMCgcc> failed (internal error).
No changes were made to the system.

While Installing Solaris 8, I selected "Automatically Layout File Systems" option and I have around 15GB harddrive. Do I need to reinstall Solaris to reallocate the file system?

Help Plz!
 
That really stinks... Looks like your root partition is full. You may have to start from scratch. If you do,
keep in mind that /var grows. I was trained by Sun and have always placed /var in in own partition. Also placed
/opt and /usr in it own partition. But, that is me. /opt is where most of the 3rd party application are stored. So if you are installing 3rd party stuff make /opt larger than recommended. You have 15 GB of harddrive, you should have plenty of room. Also remember to make Swap equal to or larger than the amount of RAM installed in you workstation.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top