Go to main content
Oracle® Developer Studio 12.6: Installation Guide

Exit Print View

Updated: July 2017
 
 

Installing and Updating Oracle Solaris 11 System Libraries Required by Oracle Developer Studio 12.6

Before you can install Oracle Developer Studio 12.6 on Oracle Solaris 11, you must ensure that some required system libraries are updated. These libraries are included with the Oracle Solaris 11 operating system in the sunpro-incorporation consolidation package, not with Oracle Developer Studio.

Since these libraries are also used by Oracle Developer Studio itself, you must install the libraries on Oracle Solaris 11.3 before installing Oracle Developer Studio.

An updated version of the sunpro-incorporation package has been added to the Oracle Solaris 11 release repository to address issues fixed in Oracle Solaris 11.3 SRU20 since Oracle Solaris 11.3 was released.

These instructions assume you are familiar with basics of the Oracle Solaris 11 Image Packaging System (IPS). A brief video introduction to IPS is available at http://download.oracle.com/otndocs/tech/OTN_Demos/IPS/IPS-demo.html.

For more extensive coverage of IPS, see Adding and Updating Software in Oracle Solaris 11.3 in the Oracle Solaris 11.3 Information Library.

Update the required system libraries using one of the following methods, depending on whether you have purchased a support contract for Oracle Solaris to obtain access to the support repository:

If you have access to the Oracle Solaris 11 support repository:

Update your system to the latest Oracle Solaris 11.3 Support Repository Update (SRU). Access to the Oracle Solaris 11 support repository requires an Oracle Solaris 11 Support Contract. For details, refer to the article How to Update Oracle Solaris 11 Systems from Oracle Support Repositories.

See a sample session in Example 1.

If you do not have access to the Oracle Solaris 11 support repository:

Update your system to Oracle Solaris 11.3 from the Oracle Solaris 11 release repository at http://pkg.oracle.com/solaris/release as documented in Updating to Oracle Solaris 11.3.

See a sample session in Example 2.

Example Update Scenarios for Oracle Solaris 11

This section shows the following example update scenarios for Oracle Solaris 11.

Example 1  Updating a Oracle Solaris 11.3 Boot Image to the latest SRU from the Oracle Solaris 11 Support Repository

This example shows a terminal session for upgrading a system from Oracle Solaris 11.3 to the latest SRU from the Oracle Solaris 11 support repository, when you have an Oracle Solaris 11 support contract. The system's default publisher is already configured to point to the Oracle Solaris 11 support repository.

The terminal session shows the following:

  • Lists the currently installed versions of the entire and the sunpro-incorporation packages. The output reflects the versions originally delivered in Oracle Solaris 11.1.

  • Lists all available versions of both packages in the Oracle Solaris 11 support repository. The output shows that newer versions of both are available, reflecting the latest Oracle Solaris 11.2 SRU.

  • Updates the system to Oracle Solaris 11.3 SRU20. The session shows that the system is updated in a named new boot environment, leaving the current boot environment unchanged.

root@sparcbox:~# beadm list
BE                           Flags Mountpoint Space   Policy Created          
--                           ----- ---------- -----   ------ -------          
s11.3_example                NR    /          34.70G  static 2017-06-08 13:20 
root@sparcbox:~# pkg list entire
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.3.9.0.2.0     i--
root@sparcbox:~# pkg list sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.9.0.2.0     i--
root@sparcbox:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F https://pkg.oracle.com/solaris/support/
root@sparcbox:~# pkg list -af entire
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.3.20.0.6.0    ---
entire                                            0.5.11-0.175.3.20.0.5.0    ---
entire                                            0.5.11-0.175.3.19.0.5.0    ---
entire                                            0.5.11-0.175.3.18.0.6.0    ---
entire                                            0.5.11-0.175.3.17.0.5.0    ---
...
entire                                            0.5.11-0.175.1.0.0.24.2    ---
...
root@sparcbox:~# pkg list -af sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.20.0.2.0    ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.13.0.1.0    ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.9.0.2.0     i--
...
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.1.0.0.19.0    ---
...
root@sparcbox:~# pkg update --accept --be-name s11.3_example_s11.3sru20
            Packages to remove:  28
           Packages to install:   8
            Packages to update: 344
       Create boot environment: Yes
Create backup boot environment:  No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            380/380   19533/19533  660.8/660.8 27.2M/s

PHASE                                          ITEMS
Removing old actions                       9382/9382
Installing new actions                     9983/9983
Updating modified actions                16533/16533
Updating package state database                 Done 
Updating package cache                       372/372 
Updating image state                            Done 
Creating fast lookup database                   Done 
Updating package cache                           1/1 

A clone of s11.3_example exists and has been updated and activated.
On the next boot the Boot Environment s11.3_example_s11.3sru20 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.

Updating package cache                           1/1 

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

https://support.oracle.com/rs?type=doc&id=2045311.1
---------------------------------------------------------------------------

root@sparcbox:~# beadm list
BE                           Flags Mountpoint Space   Policy Created          
--                           ----- ---------- -----   ------ -------          
s11.3_example                N     /          6.26M   static 2017-06-08 13:20 
s11.3_example_s11.3sru20     R     -          39.27G  static 2017-06-08 13:56 
root@sparcbox:~# reboot
Connection to x86box.example.com closed by remote host.
Connection to x86box.example.com closed.

After the system is rebooted, log in as a normal user and verify that both the entire and the sunpro-incorporation packages have been updated.

...
Oracle Corporation      SunOS 5.11      11.3    August 2016
(sparcbox)% beadm list
BE                           Flags Mountpoint Space   Policy Created          
--                           ----- ---------- -----   ------ -------          
s11.3_example                -     -          20.82M  static 2017-06-08 13:20 
s11.3_example_s11.3sru20     NR    /          39.37G  static 2017-06-08 13:56 
(sparcbox)% pkg list entire
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.3.20.0.6.0    i--
(sparcbox)% pkg list sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.20.0.2.0    i--
(sparcbox)% 
Example 2  Updating the sunpro-incorporation Package from the Oracle Solaris 11 Release Repository

This example shows that the release repository has been updated with a newer version of the sunpro-incorporation package (SRU20), and how to update the current build environment to that version of the sunpro-incorporation.

The terminal session shows the following tasks:

  • Verifies the name of the current build environment.

  • Verifies that the system default publisher points at the Oracle Solaris 11 release repository.

  • Verifies that the sunpro-incorporation package from SRU20 is available in the Solaris 11 release repository.

  • Performs a trial run of updating the sunpro-incorporation package.

  • Updates the sunpro-incorporation package backing up the current build environment.

  • Verifies that the sunpro-incorporation package has been updated to the SRU20 version.

  • Lists the current and backup build environments.

root@sparcbox:~# beadm list
BE                           Flags Mountpoint Space   Policy Created
--                           ----- ---------- -----   ------ -------
s11.3ga_example              NR    /          25.08G  static 2017-06-08 19:37
root@sparcbox:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F https://pkg.oracle.com/solaris/release/
root@sparcbox:~# pkg list sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.9.0.2.0     i--
root@sparcbox:~# pkg list -af sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.20.0.2.0    ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.9.0.2.0     i--
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.0.0.25.0    ---
...
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.1.0.0.19.0    ---
...
root@sparcbox:~# pkg update -nv --accept
            Packages to update:         5
     Estimated space available: 361.88 GB
Estimated space to be consumed: 110.41 MB
       Create boot environment:        No
Create backup boot environment:       Yes
          Rebuild boot archive:        No

Changed packages:
solaris
  consolidation/sunpro/sunpro-incorporation
    0.5.11,5.11-0.175.3.9.0.2.0:20160528T012705Z -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003815Z
  entire
    0.5.11,5.11-0.175.3.1.0.5.1:20170105T000952Z -> 0.5.11,5.11-0.175.3.1.0.5.2:20170605T210005Z
  system/library/c++-runtime
    0.5.11,5.11-0.175.3.9.0.2.0:20160528T012707Z -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003816Z
  system/library/math
    0.5.11,5.11-0.175.3.8.0.3.0:20160425T173821Z -> 0.5.11,5.11-0.175.3.13.0.1.0:20160909T191342Z
  system/library/openmp
    0.5.11,5.11-0.175.3.6.0.3.0:20160229T234217Z -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003823Z
root@sparcbox:~# pkg update -v --accept --backup-be-name s11.3ga_example_backup
            Packages to update:         5
     Estimated space available: 361.88 GB
Estimated space to be consumed: 110.41 MB
       Create boot environment:        No
Create backup boot environment:       Yes
          Rebuild boot archive:        No

Changed packages:
solaris
  consolidation/sunpro/sunpro-incorporation
    0.5.11,5.11-0.175.3.9.0.2.0:20160528T012705Z -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003815Z
  entire
    0.5.11,5.11-0.175.3.1.0.5.1:20170105T000952Z -> 0.5.11,5.11-0.175.3.1.0.5.2:20170605T210005Z
  system/library/c++-runtime
    0.5.11,5.11-0.175.3.9.0.2.0:20160528T012707Z -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003816Z
  system/library/math
    0.5.11,5.11-0.175.3.8.0.3.0:20160425T173821Z -> 0.5.11,5.11-0.175.3.13.0.1.0:20160909T191342Z
  system/library/openmp
    0.5.11,5.11-0.175.3.6.0.3.0:20160229T234217Z -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003823Z

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                5/5         44/44      4.5/4.5 40.4M/s

PHASE                                          ITEMS
Removing old actions                           13/13
Installing new actions                         13/13
Updating modified actions                      38/38
Updating package state database                 Done
Updating package cache                           5/5
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           1/1

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://www.oracle.com/pls/topic/lookup?ctx=solaris11&id=SERNS
---------------------------------------------------------------------------

root@sparcbox:~# pkg list sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.3.20.0.2.0    i--
root@sparcbox:~# beadm list
BE                           Flags Mountpoint Space   Policy Created
--                           ----- ---------- -----   ------ -------
s11.3ga_example              NR    /          25.08G  static 2017-06-08 19:37
s11.3ga_example_backup       -     -          97.77M  static 2017-06-08 20:18
root@sparcbox:~#

Installing the developer-studio-utilities package

The terminal session shows the following tasks:

  • Installs the new developer-studio-utilities packages under the sunpro-incorporation package.

  • Lists the version IDs of the updated package under the sunpro-incorporation package.

root@sparcbox:~# pkg info developer-studio-utilities
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:

        developer-studio-utilities
root@sparcbox:~# pkg info -r developer-studio-utilities
          Name: group/feature/developer-studio-utilities
       Summary: Developer Support For Oracle Solaris Studio
   Description: Tools and runtime support libraries for use with Oracle Solaris
                Studio
      Category: Development/C (org.opensolaris.category.2008)
                Development/C++ (org.opensolaris.category.2008)
                Development/Fortran (org.opensolaris.category.2008)
                Meta Packages/Group Packages (org.opensolaris.category.2008)
         State: Not installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.3.3.0.2.0
Packaging Date: Tue Nov 17 03:16:25 2015
          Size: 5.56 kB
          FMRI: pkg://solaris/group/feature/developer-studio-utilities@0.5.11,5.11-0.175.3.3.0.2.0:20151117T031625Z
root@sparcbox:~# pkg install -nv sunpro-incorporation developer-studio-utilities
           Packages to install:        11
     Estimated space available: 356.74 GB
Estimated space to be consumed: 471.12 MB
       Create boot environment:        No
Create backup boot environment:        No
          Rebuild boot archive:        No

Changed packages:
solaris
  developer/library/xprofile
    None -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234156Z
  developer/openmpi-15
    None -> 0.5.11,5.11-0.175.2.0.0.37.0:20140414T130243Z
  developer/versioning/sccs
    None -> 0.5.11,5.11-0.175.3.0.0.10.0:20141110T022347Z
  developer/xopen/xcu4
    None -> 0.5.11,5.11-0.175.3.0.0.24.0:20150607T193302Z
  group/feature/developer-studio-utilities
    None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031625Z
  system/header
    None -> 0.5.11,5.11-0.175.3.1.0.3.0:20150925T164321Z
  system/library/fortran-runtime
    None -> 0.5.11,5.11-0.175.3.13.0.1.0:20160909T191336Z
  system/library/mmheap
    None -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234216Z
  system/library/openmp
    None -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003823Z
  system/library/studio-runtime
    None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031646Z
  system/library/sunperf
    None -> 0.5.11,5.11-0.175.3.13.0.1.0:20160909T191347Z

Editable files to change:
  Install:
    etc/openmpi-1.5/openmpi-default-hostfile
    etc/openmpi-1.5/openmpi-mca-params.conf
    etc/openmpi-1.5/openmpi-totalview.tcl
root@sparcbox:~# pkg install -v sunpro-incorporation developer-studio-utilities
           Packages to install:        11
     Estimated space available: 356.74 GB
Estimated space to be consumed: 471.12 MB
       Create boot environment:        No
Create backup boot environment:        No
          Rebuild boot archive:        No

Changed packages:
solaris
  developer/library/xprofile
    None -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234156Z
  developer/openmpi-15
    None -> 0.5.11,5.11-0.175.2.0.0.37.0:20140414T130243Z
  developer/versioning/sccs
    None -> 0.5.11,5.11-0.175.3.0.0.10.0:20141110T022347Z
  developer/xopen/xcu4
    None -> 0.5.11,5.11-0.175.3.0.0.24.0:20150607T193302Z
  group/feature/developer-studio-utilities
    None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031625Z
  system/header
    None -> 0.5.11,5.11-0.175.3.1.0.3.0:20150925T164321Z
  system/library/fortran-runtime
    None -> 0.5.11,5.11-0.175.3.13.0.1.0:20160909T191336Z
  system/library/mmheap
    None -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234216Z
  system/library/openmp
    None -> 0.5.11,5.11-0.175.3.20.0.2.0:20170422T003823Z
  system/library/studio-runtime
    None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031646Z
  system/library/sunperf
    None -> 0.5.11,5.11-0.175.3.13.0.1.0:20160909T191347Z

Editable files to change:
  Install:
    etc/openmpi-1.5/openmpi-default-hostfile
    etc/openmpi-1.5/openmpi-mca-params.conf
    etc/openmpi-1.5/openmpi-totalview.tcl

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                              11/11     3228/3228    92.8/92.8  6.4M/s

PHASE                                          ITEMS
Installing new actions                     3699/3699
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           1/1
root@sparcbox:~# pkg contents -m sunpro-incorporation | grep 0.175
set name=pkg.fmri value=pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.3.20.0.2.0:20170422T003815Z
depend fmri=developer/assembler@0.5.11-0.175.3.9.0.2.0 type=incorporate
depend fmri=developer/build/make@0.5.11-0.175.2.0.0.34.0 type=incorporate
depend fmri=developer/library/xprofile@0.5.11-0.175.3.6.0.3.0 type=incorporate
depend fmri=developer/macro/cpp@0.5.11-0.175.2.0.0.6.0 type=incorporate
depend fmri=developer/openmpi-15@0.5.11-0.175.2.0.0.37.0 type=incorporate
depend fmri=developer/versioning/sccs@0.5.11-0.175.3.0.0.10.0 type=incorporate
depend fmri=developer/xopen/xcu4@0.5.11-0.175.3.0.0.24.0 type=incorporate
depend fmri=group/feature/developer-studio-utilities@0.5.11-0.175.3.3.0.2.0 type=incorporate
depend fmri=library/medialib@0.5.11-0.175.2.0.0.6.0 type=incorporate
depend fmri=system/library/c++-runtime@0.5.11-0.175.3.20.0.2.0 type=incorporate
depend fmri=system/library/fortran-runtime@0.5.11-0.175.3.13.0.1.0 type=incorporate
depend fmri=system/library/math@0.5.11-0.175.3.13.0.1.0 type=incorporate
depend fmri=system/library/mmheap@0.5.11-0.175.3.6.0.3.0 type=incorporate
depend fmri=system/library/openmp@0.5.11-0.175.3.20.0.2.0 type=incorporate
depend fmri=system/library/studio-runtime@0.5.11-0.175.3.3.0.2.0 type=incorporate
depend fmri=system/library/sunperf@0.5.11-0.175.3.13.0.1.0 type=incorporate
root@sparcbox:~#

Note -  The studio-runtime and developer-studio-utilities packages are "group" packages provided to simplify installation of Oracle Developer Studio runtime libraries and UNIX utilities like make, sccs, and assemblers, on machines that did not include them in previous installations. This situation occurs frequently on machines that were originally installed using a standard Oracle Solaris server configuration.