Sun Solaris howtos
Solaris 8
The scilab project has a Sparc under Solaris 8. The installation is light; ie without convient tool like bash and gnutools in order to reproduce a basic solaris 8 install.
Installation of basic tools and compiler
Retrieve the solaris package gzip (which contains gunzip) and wget (http://ftp.sh.cvut.cz/MIRRORS/sunfreeware/sparc/5.8/ for example or http://www.sunfreeware.com/programlistintel10.html for Solaris 10) URLs : http://ftp.sh.cvut.cz/MIRRORS/sunfreeware/sparc/5.8/gzip-1.3.5-sol8-sparc-local et http://ftp.sh.cvut.cz/MIRRORS/sunfreeware/sparc/5.8/wget-1.9.1-sol8-sparc-local.gz
- Upload them on the sun station (by ftp for example as it is open by default)
pkgadd -d gzip-1.3.5-sol8-sparc-local
PATH=\$PATH:/usr/local/bin:/opt/SC4.2/bin/
gunzip wget-1.10.2-sol8-sparc-local.gz
pkgadd -d wget-1.10.2-sol8-sparc-local
wget http://ftp.sh.cvut.cz/MIRRORS/sunfreeware/sparc/5.8/bzip2-1.0.2-sol8-sparc-local.gz
gunzip bzip2-1.0.2-sol8-sparc-local.gz
pkgadd -d bzip2-1.0.2-sol8-sparc-local
pkgrm SUNWj2dem SUNWj2pi
Download the Java DK here : http://java.sun.com/javase/downloads/index.jsp
gunzip j2sdk-1_4_2_12-solaris-sparc.tar.Z
tar xvf j2sdk-1_4_2_12-solaris-sparc.tar
pkgadd -d . SUNWj3rt SUNWj3cfg SUNWj3dev SUNWj3man SUNWj3dmo Press y when asked. It will update Java Dev Kit from 1.2 -> 1.4 (requiered for the installation)
PATH=/usr/j2se/bin/:\$PATH
Download Sun Compiler (called Sun Studio) here : http://developers.sun.com/prodtech/cc/downloads/index.jsp (just subscribe, it is free).
bunzip2 studio11-sol-sparc.tar.bz2
mkdir sun_studio_11; cd sun_studio_11
tar xvf ../studio11-sol-sparc.tar
cd CD1/
./batch_installer
Installation of Subversion under Solaris 10 X86
mkdir packages; cd packages
{{{/usr/sfw/bin/wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/pango-1.8.0-sol10-intel-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libxml2-2.6.26-sol10-x86-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/gdbm-1.8.3-sol10-intel-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/expat-1.95.5-sol10-intel-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/swig-1.3.29-sol10-x86-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/neon-0.25.5-sol10-x86-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libiconv-1.11-sol10-x86-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/db-4.2.52.NC-sol10-intel-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/subversion-1.4.2-sol10-x86-local.gz ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8d-sol10-x86-local.gz
}}}
gunzip *.gz
for file in *local; do pkgadd -d \$file; done
ln -s /usr/sfw/lib/libgcc_s.so.1 /usr/lib/
/usr/local/bin/svn should provide Type 'svn help' for usage.
Install of a package manager for Solaris
/usr/sfw/bin/wget http://www.blastwave.org/pkg_get-3.7.2-all-CSW.pkg
pkgadd -d pkg_get-3.7.2-all-CSW.pkg
/opt/csw/bin/pkg-get -a will list every package available
Install of ant
/opt/csw/bin/pkg-get -i ant
ln -s /opt/csw/bin/ant /usr/bin/ant
FAQ
I have this error : Error: must be set if running with a Java version prior to 1.4 You are not using the right version of Java. Check by typing java -version. Change your path to PATH=/usr/j2se/bin/:\$PATH
I get this error when I try to install Error: conflicting cluster already installed. Exiting. You stop a previous install don't you ? Remove wrong stuff into /var/sadm/install/productregistry
I get Error: must be set if running with a Java version prior to 1.4 A bug in the sun installation makes \$DISPLAY disappearing. Set this variable or remove the exit 3 at the line 561
If it crashes with this error message java.lang.ClassNotFoundException: com.sun.install.products.Product, edit the script batch_installer, set the variable JAVA_CHANGE_ROOT (should be /usr/j2se/bin/java).