On Sun, Oct 5, 2008 at 9:19 PM, Moinak Ghosh <moinakg at belenix.org> wrote: > On Sun, Oct 5, 2008 at 3:50 PM, S h i v <shivakumar.gn at gmail.com> wrote: >> Hi myosx86, >> >> >> On Sun, Oct 5, 2008 at 3:13 PM, myosx86 at gmail.com <mail at belenix.org> >> wrote: >>> I am new to opensolaris ( not new to Linux kernel development though ;-) ) >>> I want to install Belenix on my hard drive ! can >>> >>> I do it in the same way as Opensolaris 2008.05 (i.e., first boot from the >>> CD and then install on to Hard drive ) ?? > > Yes. In fact the OpenSolaris distro was built on top of BeleniX > though SUN never mentions that!! > >>> >>> One thing i found out is that Opensolaris (OSol => hereafter :-) ) is >>> incredibly difficult to compile compared to Linux kernel . > > Ummm it is actually dreadfully simple! Assuming you have already > downloaded and installed the compiler and downloaded and > extracted the source, it takes 5 mins to setup your build environment > and kick off the build. > >>> >>> One idea to switch to Belenix is to get quick help on the issues which are >>> generic ( Like which compiler version to use, general compilation issues to >>> newbies , Java JDK etc ...( I have been struggling with libXm.so.4 etc >>> until I saw Vijay Tatkar's blog :-) )) and concentrate on more interesting >>> work which will help Belenix grow [I mean feature rich !!] >>> ( Hope you all understand !!). >>> >>> so It would be great if anyone can help me in choosing right tools >>> (compiler etc) to compile ON for the first time cleanly ! >>> >> >> Building ON on BeleniX and/or OSol 2008.05 is quite simple. >> >> For details check http://opensolaris.org/os/community/on/install_quickstart >> >> On BeleniX install the devel cluster using get-pkgs utility before >> proceeding. This installs additional softwares and development headers >> necessary for building ON. >> You need to download and install sun studio separately. >> >> Temporarily building ON is little more difficult than what is present >> in the link above because ON build tool has transitioned from sun >> studio 11 to sun studio 12. >> On top of the default SS12 download one needs needs to install a set >> of patches to have the compiler tool chain that can build ON. >> > > I have not tried an ON build recently but I think we can still use SUN > Studio 11. It is not possible to apply the patches in either OpensSolaris > distro or BeleniX since the patches use the legacy install and patching > framework that are not present in OpenSolaris. >
If you are not particular about the ON source release, then download sources <= B99 and try the build. Instead of the usual http://dlc.sun.com/osol/on/downloads/current link which gives the latest daily sources, use the link http://dlc.sun.com/osol/on/downloads/b99 for B99 (or http://dlc.sun.com/osol/on/downloads/b<nn> for build <nn>). It is SS12 from B100 onwards. ON makefile changes have gone in for SS12 support. These changes are unlikely to be backward compatible. I haven't yet moved to the newer one as yet. >From Moinak's response just realized that since the patch utilities aren't part of BeleniX or OpenSolaris 2008.05, the patched compiler can be available only using SX. Need to figure out a way to get the patched tools into BeleniX. -Shiv
