PDA

View Full Version : Gcc for OpenSolaris


selverstone
10-29-2009, 07:37 AM
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..

jadrevenge
11-02-2009, 07:41 AM
assuming that you have an network connection (that connects to the internet) try following the steps at:
http://www.codestrom.com/wandering/2008/08/install-gcc-on.html

frische
11-03-2009, 03:46 AM
better yet install gcc-dev. this should pull in SUNWgcc and a few other useful packages

selverstone
11-03-2009, 04:31 AM
I tryed as per you but unable to install it.it is throwing error-

#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...

jadrevenge
11-03-2009, 05:16 AM
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.

selverstone
11-04-2009, 07:53 AM
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....

jadrevenge
11-04-2009, 12:29 PM
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?

jadrevenge
11-04-2009, 12:33 PM
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.

selverstone
11-05-2009, 03:50 AM
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.

jadrevenge
11-06-2009, 04:35 AM
did you try getting SUNWgcc instead of gcc-dev ?