Computing.Net > Forums > Solaris > installing gcc on solaris 8

installing gcc on solaris 8

Reply to Message Icon

Original Message
Name: naka
Date: July 9, 2003 at 08:47:51 Pacific
Subject: installing gcc on solaris 8
OS: solaris
CPU/Ram: 800/512
Comment:

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 exactly looks like this : " gunzip: gcc-3.3-sol8-intel-local.gz: invalid compressed data--format violated ".

what i did was "gunzip gcc-3.3-sol8-intel-local.gz" and it waited like 10-20secs then the error appeared on the screen. I downloaded the file again in case that something was wrong during downloading but after several tries with new files from different ftp servers, same error appeared. Can anyone tell me what is wrong ? thanks.



Report Offensive Message For Removal


Response Number 1
Name: Sorin Ploscaru
Date: July 9, 2003 at 09:02:45 Pacific
Reply: (edit)

Hi!

Try with
# gunzip gcc-3.3-sol8-intel-local.gz | tar xvf -
and must work (minus sign is important)

afterthat

# pkg_add -d gcc-3.3-sol8-intel-local.pkg
I dont know if you must add /usr/local/bin to path. But u must repalce link /usr/ucb/[bin/]cc (point to new gcc)

Bye


Report Offensive Follow Up For Removal

Response Number 2
Name: Sorin Ploscaru
Date: July 9, 2003 at 09:04:05 Pacific
Reply: (edit)

Sorry,

Try with
# gunzip gcc-3.3-sol8-intel-local.gz | tar xvf -

Bye


Report Offensive Follow Up For Removal

Response Number 3
Name: Sorin Ploscaru
Date: July 9, 2003 at 09:07:17 Pacific
Reply: (edit)

# gunzip gcc-3.3-sol8-intel-local.gz | tar xvf -



Report Offensive Follow Up For Removal

Response Number 4
Name: Sorin Ploscaru
Date: July 9, 2003 at 09:14:08 Pacific
Reply: (edit)

# gunzip [less than sing] gcc-3.3-sol8-intel-local.gz | tar xvf -

ang FKC!!!! web designer
stupid!!!!!!

Sorry
Regards.
Sorin


Report Offensive Follow Up For Removal

Response Number 5
Name: neverpay
Date: July 9, 2003 at 11:38:19 Pacific
Reply: (edit)

thanks sorin but it still didnt work and gave me same error. Btw the file i downloaded was not a tar file. its just gcc-3.3-sol8-intel-local.gz, not gcc-3.3-sol8-intel-local.gz.tar. i dont know why it wont let me install. please help me


Report Offensive Follow Up For Removal


Response Number 6
Name: naka
Date: July 9, 2003 at 12:34:36 Pacific
Reply: (edit)

i figured it out. i downloaded the file with ASCII mode not with Binary mode. thats why it gave me the problem. thanks


Report Offensive Follow Up For Removal

Response Number 7
Name: Sorin Ploscaru
Date: July 9, 2003 at 23:25:33 Pacific
Reply: (edit)

Good to hear.

Bye.


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: installing gcc on solaris 8

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge