Building Caiman gate

Here are the instructions on how to build Caiman gate

Required Packages:

  • SUNWonbld
  • SUNWwbint
  • SUNWzoneint
  • SUNWldskint
  • SUNWmercurial
  • sunstudioexpress

The packages SUNWmercurial and sunstudioexpress can be installed directly from the OpenSolaris.org repository by Package Manager or by the following command:

$ pfexec pkg install SUNWmercurial sunstudioexpress

The packages SUNWwbint, SUNWzoneint and SUNWldskint must be downloaded from OpenSolaris Download Center.

Download the packages according to your architecture!

To install use command pkgadd (run these commands in the same directory where you downloaded the packages)

Note - For all questions answer y (yes)

$ pfexec pkgadd -d SUNWwbint.i386.pkg
$ pfexec pkgadd -d SUNWldskint.i386.pkg
$ pfexec pkgadd -d SUNWzoneint.i386.pkg

The package SUNWonbld can be downloaded from the ON downloads page. The package is in a compress form: SUNWonbld.i386.tar.bz2

Decompress SUNWonbld.i386.tar.bz2

In terminal (in the same directory where you download this package) type:

$ bunzip2 SUNWonbld.i386.tar.bz2

$ tar -xvf  SUNWonbld.i386.tar

$ cd onbld

$ pfexec pkgadd -d . SUNWonbld

Note - For all questions answer y (yes) 

The best way to get the source code for the Caiman projects is to use the Mercurial repository. Obtain a local copy of the source using:

$ cd ~
$ hg clone ssh://anon@hg.opensolaris.org/hg/caiman/slim_source slim_source

The slim_source directory was created in your actual directory.

To build this repository use the following steps:  

$ cd slim_source/usr/src
$ cp tools/env/developer.sh .; chmod +wx developer.sh

GATE, CODEMGR_WS and PATHS need to be changed as follows:

$ gedit developer.sh
  export GATE=slim_source;
export CODEMGR_WS="/directory/where/you/downloaded/slim_source${GATE}"; 
  BUILD_TOOLS=/opt;                       export BUILD_TOOLS
  ONBLD_TOOLS=/opt/onbld;                 export ONBLD_TOOLS
  SPRO_ROOT=/opt/SunStudioExpress;        export SPRO_ROOT

To create SVR4 packages run:

$ /opt/onbld/bin/nightly developer.sh 

After a few minutes compilation is done.

Compiled packages (SUNWauto-install, SUNWgui-install, SUNWinstall-libs, SUNWstosreg, SUNWbeadm, SUNWinstall, SUNWinstall-test, SUNWdistro-const, SUNWinstalladm-tools and SUNWslim-utils) are located in slim_source/i386/nightly-nd/ directory.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Solaris l10n & i18n, locales, keyboards, fonts and related topics.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today