How To Build OpenSolaris 2009.06

Needed software

You will need a specially patched version of the Sun Studio 12 Compiler. Download it here:

sunstudio12-patched-ii-2009Sep-sol-x86.tar.bz2
sunstudio12u1-patched-ii-2010Feb-sol-x86.tar.gz

Prepare the environment

Install the following packages:

pkg install -v \
 pkg:/data/docbook \
 pkg:/developer/astdev \
 pkg:/developer/build/make \
 pkg:/developer/build/onbld \
 pkg:/developer/illumos-gcc \
 pkg:/developer/gnu-binutils \
 pkg:/developer/opensolaris/osnet \
 pkg:/developer/java/jdk \
 pkg:/developer/lexer/flex \
 pkg:/developer/object-file \
 pkg:/developer/parser/bison \
 pkg:/developer/versioning/mercurial \
 pkg:/library/glib2 \
 pkg:/library/libxml2 \
 pkg:/library/libxslt \
 pkg:/library/nspr/header-nspr \
 pkg:/library/perl-5/xml-parser \
 pkg:/library/security/trousers \
 pkg:/print/cups \
 pkg:/print/filter/ghostscript \
 pkg:/runtime/perl-510 \
 pkg:/runtime/perl-510/extra \
 pkg:/runtime/perl-510/module/sun-solaris \
 pkg:/system/library/math/header-math \
 pkg:/system/library/install \
 pkg:/system/library/dbus \
 pkg:/system/library/libdbus \
 pkg:/system/library/libdbus-glib \
 pkg:/system/library/mozilla-nss/header-nss \
 pkg:/system/header \
 pkg:/system/management/product-registry \
 pkg:/system/management/snmp/net-snmp \
 pkg:/text/gnu-gettext \
 pkg:/library/python-2/python-extra-26 \
 pkg:/web/server/apache-13

Extract the SunStudio 12 compilers needed to build OpenSolaris:

mkdir -p /opt/SUNWspro
cd /opt/SUNWspro
sudo tar xjf /path/to/sunstudio12-patched-ii-2009Sep-sol-x86.tar.bz2
sudo tar xzf /path/to/sunstudio12u1-patched-ii-2010Feb-sol-x86.tar.gz

-- Ivo van Geel - 01 Aug 2013

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions
Topic revision: r4 - 15 Jul 2017 - IvoVanGeel
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS