Subversion is a popular version control system for UNIX and Windows. You will need Subversion to retrieve the latest development versions of common freeware programs, such as VirtualBox.
Use the instructions below to compile Subversion for Solaris 10.
Download Berkeley DB and GNU sed packages from Solaris Freeware or use the Solaris Companion DVD.
Cd to the directory containing the packages and install as root
bunzip2 SFWbdb.pkg.bz2 bunzip2 SFWsed.pkg.bz2 pkgadd -d SFWbdb.pkg pkgadd -d SFWsed.pkg
Compile Subversion
wget http://subversion.tigris.org/downloads/subversion-1.5.6.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-1.5.6.tar.bz2
umask 022
bunzip2 -c subversion-1.5.6.tar.bz2 | tar xf -
bunzip2 -c subversion-deps-1.5.6.tar.bz2 | tar xf -
cd subversion-1.5.6/
./configure --prefix=/opt/subversion-1.5.6 --with-ssl --enable-static \
--disable-shared --with-berkeley-db=/opt/sfw
gmake
Login as root, cd to source directory and install
gmake install
Optional: remove developer files to save disk space
cd /opt/subversion-1.5.6 rm -fr include lib share/doc build build-1 rm bin/apr-1-config bin/apu-1-config bin/neon-config
Add /opt/subversion-1.5.6/bin to your PATH and your
are ready to use Subversion
PATH=/opt/subversion-1.5.6/bin:$PATH
Jul 17, 2009: Updated the instructions for Subversion 1.5.6. The instructions for Subversion 1.4.6 are also available.
Feb 26, 2008: Compiled succesfully on Solaris 10 u4.