Oracle Solaris 11 に Oracle Developer Studio 12.6 をインストールする前に、複数の必要なシステムライブラリが更新されていることを確認する必要があります。これらのライブラリは、Oracle Solaris 11 オペレーティングシステムの sunpro-incorporation 連結パッケージに含まれており、Oracle Developer Studio には付属していません。
これらのライブラリは Oracle Developer Studio 自体でも使用されるので、Oracle Developer Studio をインストールする前に、Oracle Solaris 11.3 にライブラリをインストールする必要があります。
Oracle Solaris 11.3 がリリースされたので、Oracle Solaris 11.3 SRU20 で修正された問題に対処するために、sunpro-incorporation パッケージの更新バージョンが Oracle Solaris 11 リリースリポジトリに追加されています。
これらの手順では、ユーザーが Oracle Solaris 11 Image Packaging System (IPS) の基本に精通していると想定しています。IPS の簡単なビデオ紹介は、http://download.oracle.com/otndocs/tech/OTN_Demos/IPS/IPS-demo.html で入手できます。
IPS のより広範な対象範囲については、Oracle Solaris 11.3 Information Library のOracle Solaris 11.3 ソフトウェアの追加と更新を参照してください。
サポートリポジトリへのアクセス権を取得するために Oracle Solaris のサポート契約を購入しているかどうかに応じて、次のいずれかの方法を使用して、必要なシステムライブラリを更新します。
最新の Oracle Solaris 11.3 Support Repository Update (SRU) にシステムを更新します。Oracle Solaris 11 サポートリポジトリへのアクセスには、Oracle Solaris 11 のサポート契約が必要です。詳細は、Oracle サポートリポジトリからの Oracle Solaris 11 システムの更新方法の記事を参照してください。
使用例 1, Oracle Solaris 11 サポートリポジトリからの Oracle Solaris 11.3 ブートイメージの最新 SRU への更新のサンプルセッションを参照してください。
Oracle Solaris 11.3 への更新の説明に従って、http://pkg.oracle.com/solaris/release にある Oracle Solaris 11 リリースリポジトリから Oracle Solaris 11.3 にシステムを更新します。
使用例 2, Oracle Solaris 11 リリースリポジトリからの sunpro-incorporation パッケージの更新のサンプルセッションを参照してください。
このセクションでは、次の Oracle Solaris 11 の更新シナリオ例を示します。
使用例 1, Oracle Solaris 11 サポートリポジトリからの Oracle Solaris 11.3 ブートイメージの最新 SRU への更新
使用例 2, Oracle Solaris 11 リリースリポジトリからの sunpro-incorporation パッケージの更新
この例では、Oracle Solaris 11 サポート契約を結んでいるときに、Oracle Solaris 11.3 から最新 SRU へのシステムアップグレードを Oracle Solaris 11 サポートリポジトリから行うための端末セッションを示します。システムのデフォルトパブリッシャーはすでに、Oracle Solaris 11 サポートリポジトリを指し示すように構成されています。
この端末セッションは次のようになります。
entire および sunpro-incorporation パッケージの現在インストールされているバージョンを一覧表示します。出力には、Oracle Solaris 11.1 で当初提供されていたバージョンが反映されます。
Oracle Solaris 11 サポートリポジトリ内にある両方のパッケージの使用可能なバージョンをすべて一覧表示します。出力には、最新の Oracle Solaris 11.2 SRU を反映して、どちらも新しいバージョンが利用できることが示されます。
システムを Oracle Solaris 11.3 SRU20 に更新します。このセッションでは、現在のブート環境を変更しないで、名前を付けた新しいブート環境でシステムが更新されます。
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.
システムのリブート後、通常のユーザーとしてログインし、entire および sunpro-incorporation のパッケージがどちらも更新されていることを確認します。
... 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)%使用例 2 Oracle Solaris 11 リリースリポジトリからの sunpro-incorporation パッケージの更新
この例では、リリースリポジトリが、より新しいバージョンの sunpro-incorporation パッケージ (SRU20) で更新されていることを示し、現在のビルド環境をそのバージョンの sunpro-incorporation に更新する方法を示します。
この端末セッションは次のタスクを示します。
現在のビルド環境の名前を確認します。
システムデフォルトパブリッシャーが Oracle Solaris 11 リリースリポジトリを指していることを確認します。
SRU20 の sunpro-incorporation パッケージが Solaris 11 リリースリポジトリで使用できることを確認します。
sunpro-incorporation パッケージの更新を試験的に実行します。
現在のビルド環境をバックアップして、sunpro-incorporation パッケージを更新します。
sunpro-incorporation パッケージが SRU20 バージョンに更新されていることを確認します。
現在のビルド環境とバックアップしたビルド環境を一覧表示します。
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:~#
この端末セッションは次のタスクを示します。
新しい developer-studio-utilities パッケージを sunpro-incorporation パッケージの下にインストールします。
sunpro-incorporation パッケージの下の更新されたパッケージのバージョン ID を一覧表示します
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:~#