Prepare the build environment
- Install a build machine with the latest version of Solaris Express from:
http://www.sun.com/software/solaris/solaris-express/get.jsp
- Install Sun Studio 11 in the build machine, install to /opt/SUNWspro/
http://opensolaris.org/os/community/tools/sun_studio_tools/sun_studio_11_tools/
- Download and install mercurial (hg) package on your system
Since Solaris Nevada build 45, mercurial is shipped in by default. For older builds, please go to http://opensolaris.org/os/community/tools/scmdownloads, download and install the SUNWmercurial package. For Ubuntu linux, just run apt-get install mercurial. Or, download the pre-built binaries from mercurial website.
Build G11N workspace
- Check out source codes from live repository
$ su - # mkdir -p /build/g11n # cd /build/g11n # hg clone ssh://username_@//hg.opensolaris.org/hg/nv-g11n/g11n - Build the codes
# cd /build/g11n/g11n # export SRC=/build/g11n/g11n # export PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/bin # make all 2>&1 |tee -a make.log # make install 2>&1 | tee -a make-install.log - Full description of compiling process can be found from g11n/README.opensolaris.g11n file.
Build Messages workspace
- Check out source codes from live repository
$ su - # mkdir -p /build/g11n # cd /build/g11n # hg clone ssh://username//@_hg.opensolaris.org/hg/nv-g11n/messages - Build the codes
# cd /build/g11n/messages # export SRC=/build/g11n/messages # export PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/bin # make all 2>&1 |tee -a make.log # make install 2>&1 | tee -a make-install.log - Full description of compiling process can be found from messages/README.opensolaris.messages file.
Build Input Method workspace
Refer to the Documents of Input Method project.
on 2009/10/26 12:15