My Oracle Support Banner

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

Last updated on NOVEMBER 01, 2024

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 <SOURCE_FILE_NAME>.c
"<SOURCE_FILE_NAME>.c", line 1: cannot find include file: <stdio.h>
"<SOURCE_FILE_NAME>.c", line 5: warning: implicit function declaration: printf
cc: acomp failed for <SOURCE_FILE_NAME>.c


3.) Linking against the Apache STL fails:

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

Example error messages:

% <STUDIO_INSTALL_DIR>/bin/CC -xO3 <SOURCE_FILE_NAME>.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.