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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Space Problem installing gcc on Sun

Reply to Message Icon

Name: Charlie Farrell
Date: August 26, 2003 at 11:53:39 Pacific
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 :)



Sponsored Link
Ads by Google

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.


0

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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


Sponsored links

Ads by Google


Results for: Space Problem installing gcc on Sun

Installing X25 on Sun 8 www.computing.net/answers/solaris/installing-x25-on-sun-8/2213.html

installing gcc on solaris 8 www.computing.net/answers/solaris/installing-gcc-on-solaris-8/3650.html

problem install solaris 8 sun blade 1000 www.computing.net/answers/solaris/problem-install-solaris-8-sun-blade-1000/1333.html