Solved

troubleshooting installing gcc

Posted on 2004-03-26
8
454 Views
Last Modified: 2013-12-27
Hi

I'm really tired because i can't install gcc compiler using pkg-get this is the error (sorry but in espanish is my OS)


utime(/dev/fd/1): Operación no aplicable
13:53:18 (51.94 KB/s) - `/dev/fd/1' saved [94025104/94025104]


gzip: stdout: No space left on device
Transfiriendo el ejemplo de paquete <SMCgcc>
pkgtrans: ERROR: imposible terminar la transferencia de paquetes
    - ya existe una versión idéntica de <SMCgcc> en el dispositivo de destino

all this is because y have installed php 4.3.x but without gd library so i tried to install it and after a lot of packages installed when try to compile php it can't found gcc so i decided to reinstall it using pkg-get but it seems to me i'm out od disk space but don´t know hoe to check it

regards
0
Comment
Question by:Alejandro_Lopez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 7

Accepted Solution

by:
fim32 earned 250 total points
ID: 10691549
to check disk space is the question?  df -k

check www.sunfreeware.com for possibly pre-compiled binaries...?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 10696587
>  No space left on device
this sounds like you disk is full, check with
  df -k

> ya existe una versión idéntica de <SMCgcc> en el dispositivo de destinoya existe una versión idéntica de <SMCgcc> en el dispositivo de destino
pkg tells you that there is already this version of gcc installed.
Why would you install again?
0
 

Author Comment

by:Alejandro_Lopez
ID: 10704749
this is the result:

# df -k
Sistema de archivos   kbytes  usados aprovechar capacidad Montado en
/dev/dsk/c0t2d0s0     241599  148174   69266    69%    /
/dev/dsk/c0t2d0s6    4130982 2154559 1935114    53%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
/dev/dsk/c0t2d0s5    4130982   58544 4031129     2%    /var
swap                 2142896      16 2142880     1%    /var/run
swap                 2154192   11312 2142880     1%    /tmp
/dev/dsk/c0t2d0s7    25826376       9 25568104     1%    /export/spare
#

the problmem came when i tried to update gcc, but right now it's not registered or working with pkg-get, and when i try to install it again the error comes, can someone tell me how to to liberate space...and to tell pkg-get to reinstall gcc??
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Assisted Solution

by:mdhmi
mdhmi earned 250 total points
ID: 10705593

Do a pkgrm to remove the current compiler and then retry your pkg-get.  Or better yet, just use the pre-compiled binaries on http://www.sunfreeware.com.

Mark
0
 

Author Comment

by:Alejandro_Lopez
ID: 10705680
ok

the problem is smc says gcc it's not installed so it can't be uninstalled

thanks
0
 
LVL 7

Expert Comment

by:fim32
ID: 10705924
you're using the bsd standard set of pkg utilites, and not the solaris ones?

i would think, then, that pkg-get is trying to download and install this package from your home partition, which from the looks of it is on your / (only 69meg avail).  gcc is fairly large, so i'll bet that's a problem.

go to www.sunfreeware.com, download the gcc package manually, and save it somewhere, like /tmp which has 2gig avail.

gunzip the package

and then /usr/sbin/pkgadd -d ./gcc-blah

should take care of it
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question