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
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..
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
better yet install gcc-dev. this should pull in SUNWgcc and a few other useful packages
I tryed as per you but unable to install it.it is throwing error-
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?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')
So please tell me how can I resolve it.
Thanks in Advance...
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....
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.
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 02:52 AM.
did you try getting SUNWgcc instead of gcc-dev ?