Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing gcc-7 on Solaris 11.3

prankboxDec 11 2018 — edited Dec 20 2018

Hello guys.

Just trying to install and getting the following:

$ sudo pkg install -nv gcc-7 gcc-c-7

Creating Plan (Solver setup): \

pkg install: No matching version of developer/gcc-7 can be installed:

  Reject:  pkg://solaris/developer/gcc-7@7.3.0-0.175.3.34.0.1.0

  Reason:  No version matching 'group' dependency developer/gcc/gcc-c++-7 can be installed

    ----------------------------------------

    Reject:  pkg://solaris/developer/gcc/gcc-c++-7@7.3.0-0.175.3.34.0.1.0

    Reason:  No version matching 'require' dependency developer/gcc/gcc-c-7 can be installed

      ----------------------------------------

      Reject:  pkg://solaris/developer/gcc/gcc-c-7@7.3.0-0.175.3.34.0.1.0

      Reason:  No version for 'require' dependency on library/mpc@0.9,5.11-0.175.3.0.0.30.0 can be found

      ----------------------------------------

    ----------------------------------------

No matching version of developer/gcc/gcc-c-7 can be installed:

  Reject:  pkg://solaris/developer/gcc/gcc-c-7@7.3.0-0.175.3.34.0.1.0

  Reason:  [already rejected; see above]

Then trying to install dependencies like mpc, but get the following:

sudo pkg install mpc

pkg install: The following pattern(s) did not match any allowable packages.  Try

using a different matching pattern, or refreshing publisher information:

        mpc

Could you give me a hint how to install gcc-7 and it's dependencies?

Thanks.

Comments
Post Details
Added on Dec 11 2018
8 comments
2,999 views