Building ON on OpenSolaris 2008.05
2008-07-17 08:52
411 查看
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.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 &
相关文章推荐
- Ubuntu Hardy (8.04) x86_64 domU on Opensolaris Indiana (2008.05) dom0
- Installing xVM on OpenSolaris
- OpenSolaris on USB
- Building Openwrt for X86 on Compact Flash
- Powertop on OpenSolaris
- How to access PCI configure space on OpenSolaris
- Building OpenCascade on Windows with Visual Studio
- XEN on OpenSolaris (1) - 安装并配置Solaris Dom0
- 【转】pNFS on opensolaris 安装使用
- How to dump an ACPI table on Linux/OpenSolaris
- how to make one bootable USB stick with OpenSolaris 2008.05
- OpenSolaris 初体验 - OpenSolaris 2008.05 http://www.unix-center.net/opensolaris/getting_started.html
- Install OpenSolaris on a Windows + Ubuntu system
- XEN on OpenSolaris (2) - 创建DomU硬盘镜像
- Running OpenSolaris on Classmate PC
- Building openresty1.7.10.1 with luajit on windows using Cygwin, 在windows下用Cygwin下编译带Luajit的openresty
- How to get the kernel memory range on OpenSolaris
- Getting xVM to work in Opensolaris 2008.05
- OpenSolaris is on the way
- Building OpenCascade on Windows with Visual Studio