Results 1 to 10 of 10

Thread: Gcc for OpenSolaris

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

  2. #2
    Join Date
    Nov 2008
    Location
    Manchester
    Posts
    103

    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

  3. #3
    Join Date
    Feb 2009
    Location
    http://www.flickr.com/photos/smiteme/4170866438/
    Posts
    50

    Default

    better yet install gcc-dev. this should pull in SUNWgcc and a few other useful packages

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

  5. #5
    Join Date
    Nov 2008
    Location
    Manchester
    Posts
    103

    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.

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

  7. #7
    Join Date
    Nov 2008
    Location
    Manchester
    Posts
    103

    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?

  8. #8
    Join Date
    Nov 2008
    Location
    Manchester
    Posts
    103

    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.

  9. #9
    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 04:52 AM.

  10. #10
    Join Date
    Nov 2008
    Location
    Manchester
    Posts
    103

    Default

    did you try getting SUNWgcc instead of gcc-dev ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •