![]() |
|
|||||||
| Solaris / OpenSolaris Hardware support and discussion of Solaris-based software including OpenSolaris, Solaris Express, and BeleniX. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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.. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
better yet install gcc-dev. this should pull in SUNWgcc and a few other useful packages
|
|
#4
|
|||
|
|||
|
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') So please tell me how can I resolve it. Thanks in Advance... |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Quote:
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.... |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
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. |
|
#9
|
|||
|
|||
|
Quote:
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. |
|
#10
|
|||
|
|||
|
did you try getting SUNWgcc instead of gcc-dev ?
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|