Setting up your own build environment

We've had a few queries on how to set up your own build environment that duplicates the one on jucr. Well, here it is. This is all stolen from mattman's blog.

Install dependencies
pfexec pkg install ss-dev SUNWgnome-common-devel SUNWperl-xml-parser \\
                   SUNWgnome-xml-root SUNWgnome-xml SUNWgnome-xml-share \\
                   SUNWdoxygen 
pfexec /usr/share/sgml/docbook/docbook-catalog-install.sh

Get desktop CBE and install it
wget http://dlc.sun.com/osol/jds/downloads/cbe/test/desktop-cbe-1.7.0-rc1-x86.tar.bz2
bunzip2 desktop-cbe-1.7.0-rc1-x86.tar.bz2
tar -xf desktop-cbe-1.7.0-rc1-x86.tar
cd desktop-cbe-1.7.0
./cbe-install


Remove pkgbuild and install newer version
pfexec pkgrm SFpkgbuild
cd ..
wget "http://prdownloads.sourceforge.net/pkgbuild/pkgbuild-1.3.98.4.tar.bz2?download"
cd pkgbuild-1.3.98
./configure --prefix=/opt/dtbld/
make
pfexec make install
⁞

All done!
Comments:

That's quite simple, but I wonder why doesn't it simply install IPS packages? Is it for historical reasons?

Gaëtan

PS: there are a few mistakes in the steps to install CBE. No big problem, but it prevent to install it by a copy/paste of your commands.
\* that's "cd desktop-cbe-1.7.0-rc1", not "cd desktop-cbe-1.7.0"
\* "gtar xvjf pkgbuild-1.3.98.4.tar.bz2" is missing after the wget
\* that's "cd pkgbuild-1.3.98.4" not "cd pkgbuild-1.3.98.4"

Posted by Gaëtan on May 03, 2009 at 02:45 AM BST #

Gaëtan, thank you!

Posted by bnitz on June 04, 2009 at 06:27 PM BST #

I wrote a script http://tinyurl.com/bootstrap-sfe-latest-os20nn which automates installation of a environment for the jucr and the spec-files-extra world. It came originally from the SXCE side and now has added support for OS2009.06
Note, that this environment tries to combine the -jucr and the -extra world (and possibly has slight differences to the juicer automated build system).

Both svn repositories for spec files are checked out (spec-files-jucr and spec-files-extra - just read and learn from them).

BTW: the pkgbuild 1.3.101 version is available now

Thomas

Posted by thomas.wagner@sun.com on September 18, 2009 at 09:15 AM BST #

Followed instructions but get missing SUNWsfwhea package when running ./cbe-install

Checked Solaris 10 10/09, SXCE b125 and OpenSolaris 1020 b124 and can not find package. Any suggestions?

Posted by r on October 28, 2009 at 01:00 PM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Christian Kelly

Search

Categories
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