My Oracle Support Banner

Solaris 11: Oracle Solaris Studio Fails Due to Missing Solaris Packages (Doc ID 1400912.1)

Last updated on MAY 28, 2019

Applies to:

Oracle Solaris Studio - Version 12.2 to 12.4 [Release 12]
Information in this document applies to any platform.

Symptoms

1,) Installation of Oracle Solaris Studio 12.4 on Solaris 11.2 fails with with dependency errors.

Example error messages during installation:

Plan Creation: dependency error(s) in proposed packages:
    No suitable version of required package pkg://solarisstudio/developer/solarisstudio-124@12.4,5.11-1.0.0.0:20141021T160358Z found:
    Reject: pkg://solarisstudio/developer/solarisstudio-124@12.4,5.11-1.0.0.0:20141021T160358Z
    Reason: All versions matching 'require' dependency pkg:/developer/solarisstudio-124/library/math-libs@12.4,5.11-1.0.0.0 are rejected
       Reject: pkg://solarisstudio/developer/solarisstudio-124/library/math-libs@12.4,5.11-1.0.0.0:20141021T155755Z
       Reason: All versions matching 'require' dependency pkg:/system/library/math@0.5.11,5.11-0.175.2.1.0.4.0 are rejected
          Reject: pkg://solaris/system/library/math@0.5.11,5.11-0.175.2.1.0.4.0:20140728T200728Z
          Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.2.0.0.37.0:20140414T130238Z


2.) Compilation on Solaris 11 does not work because the system headers from /usr/include are missing.

This problem might be observed in any of the following scenarios:

Example error messages:

$ cc hello_world.c
"hello_world.c", line 1: cannot find include file: <stdio.h>
"hello_world.c", line 5: warning: implicit function declaration: printf
cc: acomp failed for hello_world.c


3.) Linking against the Apache STL fails:

This problem might be observed in any of the following scenarios:

Example error messages:

% /opt/solstudio12.2/bin/CC -xO3 hello_world.c -library=stdcxx4
CC: Option -library=stdcxx4 is not supported on this OS version


4.) The "make" or "gmake" utility is not found

This problem might be observed in any of the following scenarios:

Example error messages:

$ make
bash: make: command not found
$ gmake
bash: gmake: command not found

Changes

1.) The problem is triggered because an insufficient version of the sunpro-incorporation package is installed

2.) The problem is triggered by the system/header Solaris pkg not being installed:

% pkg info system/header
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:

        system/header


3.) The problem is triggered by the library/c++/stdcxx Solaris 11 pkg not being installed:

% pkg info library/c++/stdcxx
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:

       
library/c++/stdcxx

 
4.) The problem is triggered by the developer/build/make resp. developer/build/gnu-make Solaris 11 pkg not being installed.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
 Oracle Solaris Studio on Solaris 11
 Oracle Solaris Studio 12.4 on Solaris 11.2 FCS
 3rd party compilers on Solaris 11
 Additional optional Solaris 11 packages developers might want to install
 Make
 Version control systems:
 Other development tools
 Additional Information
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.