gcc installation in solaris 8


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users gcc installation in solaris 8
# 1  
Old 06-14-2005
gcc installation in solaris 8

Hi, I am having trouble installing gcc 3.4.2-sol8-sparc-local in my sparc machine running solaris 8. It looks like I do not have enough memory in /var , but I have about 3GB free memory in /export/home. I have read some suggestion from previous threads that said it is possible to link /var and /export/home to obtain more space. How can this be done Smilie Are there any other suggestions out there?
# 2  
Old 06-14-2005
Before going for that type of approach, I suggest you post the exact error you are getting from your pkgadd command, and the output of "df -k"
# 3  
Old 06-14-2005
Here is the problem:

# pkgadd -d gcc-3.4.2-sol8-sparc-local

The following packages are available:
1 SMCgcc342 gcc
(sparc) 3.4.2

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

Processing package instance <SMCgcc342> from </export/home/vnmr1/samba/gcc-3.4.2-sol8-sparc-local>

gcc
(sparc) 3.4.2
cpio: Cannot write "reloc/lib/sparcv9/libgcj.so.5.0.0", errno 28, No space left on device
cpio: Cannot write "reloc/lib/sparcv9/libiberty.a", errno 28, No space left on device
cpio: Cannot write "reloc/lib/sparcv9/libobjc.a", errno 28, No space left on device
cpio: Cannot write "reloc/lib/sparcv9/libstdc++.a", errno 28, No space left on device
cpio: Cannot write "reloc/lib/sparcv9/libstdc++.so.6.0.2", errno 28, No space left on device
cpio: Cannot write "reloc/lib/sparcv9/libsupc++.a", errno 28, No space left on device
cpio: Cannot write "reloc/libexec/gcc/sparc-sun-solaris2.8/3.4.2/cc1", errno 28, No space left on device
cpio: Cannot write "reloc/libexec/gcc/sparc-sun-solaris2.8/3.4.2/cc1obj", errno 28, No space left on device
cpio: Cannot write "reloc/libexec/gcc/sparc-sun-solaris2.8/3.4.2/cc1plus", errno 28, No space left on device
cpio: Cannot write "reloc/libexec/gcc/sparc-sun-solaris2.8/3.4.2/collect2", errno 28, No space left on device
cpio: Cannot write ", errno 28, No space left on device
cpio:


pkgadd: ERROR: attempt to process datastream failed
- process </usr/bin/cpio -icdumD -C 512> failed, exit code 31
pkgadd: ERROR: unable to unpack datastream

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

The output of df -k is
>df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1228230 822525 344294 71% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 170432 0 170432 0% /var/run
swap 170752 320 170432 1% /tmp
/dev/dsk/c0t0d0s7 7361877 3696670 3591589 51% /export/home
humr:vnmr1 2>

How can I solve this problem? (install gcc?)

Last edited by prosper; 06-14-2005 at 04:36 PM..
# 4  
Old 06-14-2005
How can I solve this problem so that I can install gcc and then proceed to compile Samba?

Prosper.
# 5  
Old 06-15-2005
why don't you try moving and compiling the package in a directory under /export/home? you are running into space issues with the build ...

Last edited by Just Ice; 06-15-2005 at 01:37 PM.. Reason: clarification
# 6  
Old 06-15-2005
I tried to install at /export/home but I am still getting exactly the same error!

Prosper.
# 7  
Old 06-15-2005
i just checked the Sunfreeware gcc comments and it said that it wants to install the package in /usr/local ... try creating a directory in /export/home and then making /usr/local a symlink to it ... then try again ...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

GCC compiler installation on Linux OS

Need assistance in getting a GCC compiler on linux server . I wanted to install GCC compiler under local user . System doesnt have any compiler . Is there a way to get a compiler installed without a root user, cant install using (rpm, yum ) When I try to compile the gcc source i get the... (7 Replies)
Discussion started by: ajayram_arya
7 Replies

2. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error. Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies

3. UNIX for Dummies Questions & Answers

GCC installation .

I m trying to Install FTP (vsftpd-2.3.2) on my linux machine. # lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: EnterpriseEnterpriseServer Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)... (7 Replies)
Discussion started by: pinga123
7 Replies

4. UNIX for Dummies Questions & Answers

GCC installation

I was informed that one should have a strong c programming background in order to do a proper compile of GCC. I am of the opinion that having such a background would be helpful but not entirely necessary. What do you think? (1 Reply)
Discussion started by: mjl927
1 Replies

5. Solaris

gcc -3.4.6 solaris installation error

Hi , I am installing gcc 3.4.6 on SunOS labcvs001sm 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-5_10 . The isa info is 'sparcv'. I have the following with me a)gcc-3.4.6.tar b)gcc-3.4.6-sol9-sparc-local c)libiconv-1.11-sol9-sparc-local d) binutils-2.18.tar.gz e)... (8 Replies)
Discussion started by: sonu2die4
8 Replies

6. Solaris

gcc -3.4.6 installation help

Hi, I want to install the gcc-3.4.6 on solaris 9.5 , in order to compile perl 5.8.8 . I have the following packages . gcc-3.4.6.tar ibiconv-1.11-sol9-sparc-local.gz gcc-3.4.6-sol9-sparc-local libiconv-1.11.tar.gz Where can I find the necessary documents or... (4 Replies)
Discussion started by: sonu2die4
4 Replies

7. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies

8. Programming

gcc installation

hi , iam trying to install gcc compiler on a sun sparc sytem running solaris 9 . i have searched the internet for documentaion on how to install gcc , but the steps are unclear . could anyone help me with a document , because the documentaions i found are really confusing . thank you... (1 Reply)
Discussion started by: itspascal
1 Replies

9. Programming

GCC (solaris)

I packed gcc to /usr/local/ with pkgadd and when I wan't to compile a c code file it says gcc: no file how do I configure gcc on Solaris 8 plz help (1 Reply)
Discussion started by: CreamHarry
1 Replies
Login or Register to Ask a Question