Install IPS

For those who want to test out the new OpenSolaris Image Packaging System (IPS) but does not want to install the Indiana builds, here's how you can compile and build the IPS package, SUNWipkg and install it on a Nevada build. Not sure if it'll work on Solaris, do inform me if you know.
$ hg clone ssh://anon@hg.opensolaris.org/hg/pkg/gate/
or download source code at: http://src.opensolaris.org/source/xref/pkg/gate/src/
# make
# make install
cd ../SUNWipkg/../
pkgadd -d . SUNWipkg
Also, you can find instructions on how to create your own IPS repository here: http://blogs.sun.com/migi/entry/create_your_own_opensolaris_ips2
Comments:

Sorry but I can't cd to ../SUNWipkg

[@soarus 247] pwd
/home/root/IPS/gate/src
[@soarus 248] ls ..
doc proto src
[@soarus 249] ls ../proto
build_i386 root_i386
[root@soarus 250] uname -a
SunOS soarus 5.11 snv_101 i86pc i386 i86pc
[@soarus 251]

There is also a probleme with crypto:
building 'OpenSSL.crypto' extension
/usr/lib/python2.4/pycc -DNDEBUG -I/usr/include/python2.4 -c src/crypto/crypto.c -o build/temp.solaris-2.11-i86pc-2.4/
src/crypto/crypto.o
"src/crypto/x509.h", line 17: cannot find include file: <openssl/ssl.h>
"src/crypto/x509.h", line 27: syntax error before or at: X509
"src/crypto/x509name.h", line 17: cannot find include file: <openssl/ssl.h>
"src/crypto/x509name.h", line 27: syntax error before or at: X509_NAME
...
cc: acomp failed for src/crypto/crypto.c
error: command '/usr/lib/python2.4/pycc' failed with exit status 2
/home/root/IPS/gate/src/gui
rm -rf ../../proto/root_i386/usr/share/gnome/help/package-manager/C
/usr/sbin/install -d -m 0755 ../../proto/root_i386/usr/share/gnome/help/package-manager/C
directory ../../proto/root_i386/usr/share/gnome/help/package-manager/C created
/usr/sbin/install -f ../../proto/root_i386/usr/share/gnome/help/package-manager/C -m 0644 help/C/package-manager.xml
help/C/package-manager.xml installed as ../../proto/root_i386/usr/share/gnome/help/package-manager/C/package-manager.xml
/usr/sbin/install -f ../../proto/root_i386/usr/share/gnome/help/package-manager/C -m 0644 help/C/legal.xml
help/C/legal.xml installed as ../../proto/root_i386/usr/share/gnome/help/package-manager/C/legal.xml
/usr/sbin/install -d -m 0755 ../../proto/root_i386/usr/share/gnome/help/package-manager/C/figures
directory ../../proto/root_i386/usr/share/gnome/help/package-manager/C/figures created
/usr/sbin/install -f ../../proto/root_i386/usr/share/gnome/help/package-manager/C/figures -m 0644 help/C/figures/package_manager.png

Posted by Gilles Dauphin on November 10, 2008 at 11:09 PM SGT #

make packages
cd ../packages/
pkgadd -d . SUNWipkg SUNWipkg-gui SUNWipkg-gui-l10n SUNWpython-cherrypy
SUNWipkg-brand SUNWipkg-gui-data SUNWipkg-um SUNWpython-pyopenssl

That's on Nevada B101.

Cheers,
Gilles

Posted by Gilles Dauphin on November 10, 2008 at 11:24 PM SGT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Melvin Koh

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