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:
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:
- NFS mounted compilers are used
- A tarball installation of Oracle Solaris Studio is used
- A 3rd party compiler such as an unbundled gcc is used.
Example error messages:
"<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:
- NFS mounted compilers are used
- An IPS pkg installation of Oracle Solaris Studio is used
- A tarball installation of Oracle Solaris Studio is used
Example error messages:
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:
- NFS mounted compilers are used
- An IPS pkg installation of Oracle Solaris Studio is used
- A tarball installation of Oracle Solaris Studio is used
- A 3rd party compiler such as an unbundled gcc is used.
Example error messages:
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: 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: 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 |