Aubrey Li wrote: > Sherry Moore <> wrote: >> It's further suggested that I should include all the setup steps, so >> here are the details. 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://[EMAIL PROTECTED]/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 & >> >> Sherry >> >> On Wed, Jul 16, 2008 at 11:19:24AM -0700, Sherry Moore wrote: >>> I recently went through the process of setting up a system installed >>> with OpenSolaris 2008.05 to build ON. It was suggested that I should >>> share the information with my fellow developers, so here it is: >>> >>> In addition to the compilers and SUNWonbld, you will need the following >>> packages: >>> >>> SUNWhea >>> SUNWsfwhea >>> SUNWarc >>> SUNWperl-xml-parser >>> SUNWtlsd >>> SUNWprd >>> SUNWj6dev >>> SUNWj6rt >>> SUNWflexlex >>> >>> SUNWwb* (WBEM stuff) >>> >>> The SUNWwb* packages are not available in the new pkg format yet, so >>> you will need to locate them then use "pkgadd" to install them. >>> >>> Sherry >>> -- >>> Sherry Moore, Solaris Core Kernel http://blogs.sun.com/sherrym > I suspect we still need to change the default PATH environment to use > UNIX tool chain > instead of gnu tool chain. Otherwise, due to different nm output, > libdtracestubs.so will > not be correctly created.
Plus the default of gnu make in the path causes problems as well. -- Shawn Walker _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code