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

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.

installing gcc on solaris 8

Reply to Message Icon

Name: naka
Date: July 9, 2003 at 08:47:51 Pacific
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.




Sponsored Link
Ads by Google

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

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


0

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

Sorry,

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

Bye


0

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

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



0

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

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

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

Sorry
Regards.
Sorin


0

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

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


0

Related Posts

See More



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

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


0

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

Good to hear.

Bye.


0

Sponsored Link
Ads by Google
Reply to Message Icon






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: installing gcc on solaris 8

GCC on Solaris 8 running on sunBlade100 www.computing.net/answers/solaris/gcc-on-solaris-8-running-on-sunblade100/1384.html

How to install gunzip on SOLARIS 8 www.computing.net/answers/solaris/how-to-install-gunzip-on-solaris-8/707.html

Novell Client on Solaris 8 www.computing.net/answers/solaris/novell-client-on-solaris-8/155.html