Platform Notes
User-contributed notes on using the Unified Installer on particular platforms
nstalling on Solaris 10 (SPARC)
LD_LIBRARY_PATH=/usr/local/ssl/lib
This is needed to include libssl in python build
Installing on Solaris 10 (SPARC)
if [ -e $INSTALL_LOG ] # Does not work in Solaris.
In order to solve this do the following:
1. The locations of all dependencies need to be located on Solaris:
(a) gcc - /usr/local/bin/gcc (gcc-3.4.6 installed from www.sunfreeware.com - default on solaris 10 is /opt/sfw/bin/gcc)
(b) g++ - /usr/local/bin/g++ (Installed with gcc-3.4.6 - default on solaris 10 = /opt/sfw/bin/g++)
(c) gmake - /opt/sfw/bin/gmake
(d) gtar - /usr/sfw/bin/gtar
(e) gzip - /usr/bin/gzip
(f) bzip2 - /usr/bin/bzip2
In addition install.sh uses the "whoami" shell command, which on Solaris is in:
(g) whoami - /usr/ucb/whoami
2. Ensure the above PATHs are all in the system path:
PATH=$PATH:/opt/sfw/bin:/usr/sfw/bin:/usr/ucb:/usr/ccs/bin export PATH
(If /usr/ccs/bin is not added, the Python compile will fail with "gmake: ar: Command not found".)
3. As the -e switch is not present in the Solaris Bourne shell, install.sh and all other scripts must be changed to bash: #!/usr/bin/bash
4. install.sh uses the "which" shell command to locate the software it needs for the build. To ensure the correct versions of the software were used (rather than any Solaris defaults), install.sh was modified to explicitly set the location of each piece of software:
GCC=/usr/local/bin/gcc GPP=/usr/local/bin/g++ GNU_MAKE=/opt/sfw/bin/gmake GNU_TAR=/usr/sfw/bin/gtar GUNZIP=/usr/bin/gunzip BUNZIP2=/usr/bin/bunzip2
5. During the Python build, both the "libssl" and "readline" libraries are needed. Add them to the system library path:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib:/opt/sfw/lib export LD_LIBRARY_PATH
Solaris 10 x86
cat /etc/release Solaris 10 8/07 s10x_u4wos_12b X86
The install went smoothly, after the following 2 mods :
intall.sh line 1
from #! /bin/sh --> #! /bin/bash
install.sh line 81
from GNU_TAR=`which tar` --> GNU_TAR=`which gtar`
Previous:
Command-Line Options
Install on Solaris 10 (x86)
for getting the installation done on Solaris 10 (x86) I had to
change some lines in install.sh