The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris installation Angelo SUN Solaris 49 03-07-2008 09:01 AM
Solaris Installation manoj.solaris SUN Solaris 1 08-19-2007 10:41 PM
SUN Solaris Installation ashah99 SUN Solaris 7 03-17-2006 04:38 PM
Solaris 8 installation rakesh_s2020 UNIX for Dummies Questions & Answers 1 02-06-2006 10:26 PM
installation of Solaris: installation bypasses network config. cadmiumgreen SUN Solaris 2 07-15-2005 10:31 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-14-2005
prosper prosper is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 6
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 Are there any other suggestions out there?
  #2 (permalink)  
Old 06-14-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
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 (permalink)  
Old 06-14-2005
prosper prosper is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 6
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 03:36 PM..
  #4 (permalink)  
Old 06-14-2005
prosper prosper is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 6
How can I solve this problem so that I can install gcc and then proceed to compile Samba?

Prosper.
  #5 (permalink)  
Old 06-15-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
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 12:37 PM.. Reason: clarification
  #6 (permalink)  
Old 06-15-2005
prosper prosper is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 6
I tried to install at /export/home but I am still getting exactly the same error!

Prosper.
  #7 (permalink)  
Old 06-15-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
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 ...
Sponsored Links
Closed Thread

Bookmarks

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0