Phoronix Forums  

Go Back   Phoronix Forums > Hardware > Solaris / OpenSolaris

Solaris / OpenSolaris Hardware support and discussion of Solaris-based software including OpenSolaris, Solaris Express, and BeleniX.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2009, 07:37 AM
selverstone selverstone is offline
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default Gcc for OpenSolaris

Hi All,

can anyone please tell the site from where I can download gcc compiler for openSolaris..I tried to find it but unable to do it.

Please help me..
Reply With Quote
  #2  
Old 11-02-2009, 07:41 AM
jadrevenge jadrevenge is offline
Junior Member
 
Join Date: Nov 2008
Location: Manchester
Posts: 35
Default

assuming that you have an network connection (that connects to the internet) try following the steps at:
http://www.codestrom.com/wandering/2...ll-gcc-on.html
Reply With Quote
  #3  
Old 11-03-2009, 03:46 AM
frische frische is offline
Junior Member
 
Join Date: Feb 2009
Posts: 18
Default

better yet install gcc-dev. this should pull in SUNWgcc and a few other useful packages
Reply With Quote
  #4  
Old 11-03-2009, 04:31 AM
selverstone selverstone is offline
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default

I tryed as per you but unable to install it.it is throwing error-

Code:
#pfexec pkg install gcc-dev

Error:
Please check the network connection.
Is the repository accessible?

Could not retrieve manifest 'gcc-dev@0.5.11%2C5.11-0.111%3A20090508T164933Z' from 'http://pkg.opensolaris.org/release'
URLError, reason: (8, 'node name or service name not known')
but I am able to connect to this site through Internet via mozilla but unable to ping it,So I am unable to understand why it is throwing this error?

So please tell me how can I resolve it.

Thanks in Advance...
Reply With Quote
  #5  
Old 11-03-2009, 05:16 AM
jadrevenge jadrevenge is offline
Junior Member
 
Join Date: Nov 2008
Location: Manchester
Posts: 35
Default

http://pkg.opensolaris.org/release/en/index.shtml

on the main page (according to what is said on the page) if you click on the gcc-dev link it should just install it for you ... the example is actually gcc-dev.
Reply With Quote
  #6  
Old 11-04-2009, 07:53 AM
selverstone selverstone is offline
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default

Quote:
Originally Posted by jadrevenge View Post
http://pkg.opensolaris.org/release/en/index.shtml

on the main page (according to what is said on the page) if you click on the gcc-dev link it should just install it for you ... the example is actually gcc-dev.
I tried it but unable to install it.I am getting the error as below--

Please check the network connection.
Is the repository accessible?

Could not retrieve manifest 'gcc-dev@0.5.11%2C5.11-0.111%3A20090508T164933Z' from 'http://pkg.opensolaris.org/release'
URLError, reason: (8, 'node name or service name not known')

Please take a look on it and provide your valuable inputs.
waiting for your reply guys....
Reply With Quote
  #7  
Old 11-04-2009, 12:29 PM
jadrevenge jadrevenge is offline
Junior Member
 
Join Date: Nov 2008
Location: Manchester
Posts: 35
Default

Quote:
Originally Posted by selverstone View Post
I tried it but unable to install it.I am getting the error as below--

Please check the network connection.
Is the repository accessible?

Could not retrieve manifest 'gcc-dev@0.5.11%2C5.11-0.111%3A20090508T164933Z' from 'http://pkg.opensolaris.org/release'
URLError, reason: (8, 'node name or service name not known')

Please take a look on it and provide your valuable inputs.
waiting for your reply guys....
Are you directly connected to the internet, or are you connected to a network and access the internet via a proxy server?
Reply With Quote
  #8  
Old 11-04-2009, 12:33 PM
jadrevenge jadrevenge is offline
Junior Member
 
Join Date: Nov 2008
Location: Manchester
Posts: 35
Default

Hmm ... if you do a package search it doesn't find gcc-dev ... maybe that isn't in the correct version ...

try:
#pfexec pkg install SUNWgcc

it looks like it's got the right dependencies:
"...
depend fmri=SUNWgccruntime@3.4.3-0.111 type=require
depend fmri=SUNWcsl@0.5.11-0.111 type=require
depend fmri=SUNWhea@0.5.11-0.111 type=require
depend fmri=SUNWcs@0.5.11-0.111 type=require
depend fmri=SUNWbinutils@2.15-0.111 type=require
depend fmri=SUNWarc@0.5.11-0.111 type=require
..."
so hopefully it'll pull everything in.
Reply With Quote
  #9  
Old 11-05-2009, 03:50 AM
selverstone selverstone is offline
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default

Quote:
Originally Posted by jadrevenge View Post
Are you directly connected to the internet, or are you connected to a network and access the internet via a proxy server?

I am using network proxy.However after configuring my http proxy therein i am still unable to install a new package.export

http_proxy=http://proxy.name: port
and also
export http_proxy="http://username: password@proxy: port

but unable to install it and after that only getting this issue.

Last edited by selverstone; 11-05-2009 at 03:52 AM.
Reply With Quote
  #10  
Old 11-06-2009, 04:35 AM
jadrevenge jadrevenge is offline
Junior Member
 
Join Date: Nov 2008
Location: Manchester
Posts: 35
Default

did you try getting SUNWgcc instead of gcc-dev ?
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 06:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.