Documents » Building the Code
en

Building the Code

Prepare the build environment

  • 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.

Tags:
Created by admin on 2009/10/26 12:15
Last modified by admin on 2009/10/26 12:15

Collectives


XWiki Enterprise 2.7.1.34853 - Documentation