Announcement

Collapse
No announcement yet.

Gcc for OpenSolaris

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    assuming that you have an network connection (that connects to the internet) try following the steps at:

    Comment


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

      Comment


      • #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 '[email protected]%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...

        Comment


        • #5


          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.

          Comment


          • #6
            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 '[email protected]%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....

            Comment


            • #7
              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 '[email protected]%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?

              Comment


              • #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 [email protected] type=require
                depend [email protected] type=require
                depend [email protected] type=require
                depend [email protected] type=require
                depend [email protected] type=require
                depend [email protected] type=require
                ..."
                so hopefully it'll pull everything in.

                Comment


                • #9
                  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; 05 November 2009, 04:52 AM.

                  Comment


                  • #10
                    did you try getting SUNWgcc instead of gcc-dev ?

                    Comment

                    Working...
                    X