You might be able to get a lot of the packages with "pkg install ss-dev" or "pkg install gcc-dev", but that's not what
I did.
- Download ISO image from
http://opensolaris.org/index. html
- Install
- Update to build 91 (and above)
# pkg image-update
# beadm mount opensolaris-1 /mnt
# /mnt/boot/solaris/bin/update-
grub -R /mnt
# reboot
- Now you should be running build 91
# zfs mount rpool/ROOT/opensolaris/opt
# pkg refresh --full
# pkg install SUNWmercurial SUNWgcc SUNWhea SUNWarc SUNWj6dev /
SUNWperl-xml-parser SUNWtlsd SUNWprd SUNWsfwhea SUNWj6rt SUNWflexlex
# pkgadd -d path-to-WBEM-packages SUNWwb*
The rest of the steps are the same as building ON on any good old
Solaris system, but are included here fore completeness:
- Install Sun Studio compilers and build tools:
Download SS11.tar.bz2 from
http://opensolaris.org/os/ community/tools/sun_studio_ tools/sun_studio_11_tools/
# cd /opt; bzcat SS11.tar.bz2 | tar xf -
Download SUNWonbld.i386.tar.bz2 from
http://dlc.sun.com/osol/on/ downloads/current/
# cd /tmp; bzcat SUNWonbld.i386.tar.bz2 | tar xf -
# pkgadd -d onbld SUNWonbld
- Bring over ON (OS/Net) source
# hg clone ssh:// anon@hg.opensolaris.org/ hg/onnv/onnv-gate /
onnv-your-name
- Download the closed binaries from
http://dlc.sun.com/osol/on/ downloads/current/
# cd onnv-your-name
# bzcat on-closed-bins.i386.tar.bz2 | tar xf -
If doing non-debug build
# bzcat on-closed-bins-nd.i386.tar.bz2 | tar xf -
- Customize environment file
# cp usr/src/tools/env/opensolaris. sh opensolaris.sh
- Change GATE to your workspace: onnv-your-name
- Change CODEMGR_WS to your path: /rpool/your-name/${GATE}
- Change STAFFER to yourself
- If no gcc build, add this line to opensolaris.sh
CW_NO_SHADOW= ; export CW_NO_SHADOW
- Compilation
# /opt/onbld/bin/nightly opensolaris.sh &
I did.
- Download ISO image from
http://opensolaris.org/index.
- Install
- Update to build 91 (and above)
# pkg image-update
# beadm mount opensolaris-1 /mnt
# /mnt/boot/solaris/bin/update-
# reboot
- Now you should be running build 91
# zfs mount rpool/ROOT/opensolaris/opt
# pkg refresh --full
# pkg install SUNWmercurial SUNWgcc SUNWhea SUNWarc SUNWj6dev /
SUNWperl-xml-parser SUNWtlsd SUNWprd SUNWsfwhea SUNWj6rt SUNWflexlex
# pkgadd -d path-to-WBEM-packages SUNWwb*
The rest of the steps are the same as building ON on any good old
Solaris system, but are included here fore completeness:
- Install Sun Studio compilers and build tools:
Download SS11.tar.bz2 from
http://opensolaris.org/os/
# cd /opt; bzcat SS11.tar.bz2 | tar xf -
Download SUNWonbld.i386.tar.bz2 from
http://dlc.sun.com/osol/on/
# cd /tmp; bzcat SUNWonbld.i386.tar.bz2 | tar xf -
# pkgadd -d onbld SUNWonbld
- Bring over ON (OS/Net) source
# hg clone ssh:// anon@hg.opensolaris.org/
onnv-your-name
- Download the closed binaries from
http://dlc.sun.com/osol/on/
# cd onnv-your-name
# bzcat on-closed-bins.i386.tar.bz2 | tar xf -
If doing non-debug build
# bzcat on-closed-bins-nd.i386.tar.bz2 | tar xf -
- Customize environment file
# cp usr/src/tools/env/opensolaris.
- Change GATE to your workspace: onnv-your-name
- Change CODEMGR_WS to your path: /rpool/your-name/${GATE}
- Change STAFFER to yourself
- If no gcc build, add this line to opensolaris.sh
CW_NO_SHADOW= ; export CW_NO_SHADOW
- Compilation
# /opt/onbld/bin/nightly opensolaris.sh &