Computing.Net > Forums > Solaris > Space Problem installing gcc on Sun

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Space Problem installing gcc on Sun

Reply to Message Icon

Original Message
Name: Charlie Farrell
Date: August 26, 2003 at 11:53:39 Pacific
Subject: Space Problem installing gcc on Sun
OS: Solaris 8
CPU/Ram: Ultra 5/10 - 512Mb
Comment:

I'm trying to use a sad, neglected Ultra server for a small project to implement a bug-tracking system (Bugzilla). As usual, everything is being done on a shoestring :)

The system runs Solaris 8, which was installed using a lot of the Sun defaults, resulting in a hug /export/home filesystem (non-empty) and a smallish root file system.

Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1635966 1316271 270617 83% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 1327296 16 1327280 1% /var/run
swap 1327648 368 1327280 1% /tmp
/dev/dsk/c0t0d0s7 16913729 431097 16313495 3% /export/home

I have downloaded (and gunzipped) the latest GCC (gcc-3.3-sol8-sparc-local.gz) - which is about 390MB before I try to run pkgadd.

Now I foresaw problems with a shortage of space on the root partition (/usr/local in particular), so I moved the contents of /usr/local to /export/home/local and symbolically linked the two directories, hoping that pkgadd would place gcc etc in /usr/local, howver the pkgadd command blows up as it runs out of space on the root partition.

The errors appear as follows

..... (no space left on device)
pkgadd: ERROR unable to unpack datastream

Installation of failed (internal error).
No changes were made to the system.
#

Anyone know a way around this? Are the gcc files installed somewhere other than /usr/local?

I'm thinking that the best way around this is to do a re-install of Solaris and re-size the partitions. I'd like to avoid this if possible :)

Thanks for any help :)


Report Offensive Message For Removal


Response Number 1
Name: David Perry
Date: August 26, 2003 at 13:03:10 Pacific
Reply:

You space problem is due to /var being limited. I think the directory is /var/tmp for pkgadd. Check the mod dates of the directories under /var . A reinstall is probably the best bet taking into account the space requirements you now know.


Report Offensive Follow Up For Removal

Response Number 2
Name: Charlie_Farrell
Date: August 27, 2003 at 04:17:32 Pacific
Reply:

Thanks. I did the same trick with /var/tmp (symbollically linking it to /export/home/tmp) and it did the trick. I managed to get gcc to install without a hitch.

Many Thanks.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home



Results for: Space Problem installing gcc on Sun

Installing X25 on Sun 8
    Summary: Anyone ever encountered having problems with making X25 workable after installing it on Sun 8 machine? ...
www.computing.net/answers/solaris/installing-x25-on-sun-8/2213.html

installing gcc on solaris 8
    Summary: hi im trying to install gcc on solaris 8 and here is where im having trouble. i got gcc-3.3-sol8-intel-local.gz file from www.sunfreeware.com via ftp and tried to unzip it but it gave me an error exac...
www.computing.net/answers/solaris/installing-gcc-on-solaris-8/3650.html

problem install solaris 8 sun blade 1000
    Summary: i trying install solaris 8 on sun blade 1000 machine with hard disk 36 giga byte fc-al disk bus. in first system detected hard disk but when install solaris 8 at cdrom. system cannot transfer softwar...
www.computing.net/answers/solaris/problem-install-solaris-8-sun-blade-1000/1333.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History






Data Recovery Software