OpenSSL
OpenSSL comes with RHEL4. On Solaris it seems exist in /usr/lib/mps and /usr/include/mps but *.so libraries only, no *.a. Anyway, to install it do following:
Download openssl-0.9.7a.tar.gz from web to /usr/local/downloads (the same version we have on RHEL4). Then:
cp openssl-0.9.7a.tar.gz /usr/local/src/ cd /usr/local/src/ gunzip openssl-0.9.7a.tar.gz tar xvf openssl-0.9.7a.tar cd openssl-0.9.7a
Configure for Sparc Solaris (32-bit version):
./Configure --prefix=/usr/local --openssldir=/usr/local/myssl solaris-sparcv9-cc other possible flags: solaris64-sparcv9-cc
Configure for Opteron Solaris (32-bit version):
./Configure --prefix=/usr/local --openssldir=/usr/local/myssl solaris-x86-gcc other possible flags: solaris-x86-cc solaris64-x86_64-cc
Configure for Linux if nedded:
./config --prefix=/usr/local --openssldir=/usr/local/share
Compile:
gmake
Run test (IMPORTANT: if test failed, do not try to continue, most likely nothing will work !):
gmake test
Install:
gmake install