Monday, January 2, 2012

Installing SVN on solaris box.

Till now, altough I was working with SVN related tasks like branching, merging etc, I had never installed SVN.
This was my first experience of installing and configuring SVN on any platform.

My requirement was to move a build(v3.1.1) from existing machine to new machine as it was conflicting with other builds on the same machine. The build usses SVN as source control system. Previously lab team had configured the SVN for this build.

I started off with searching for SVN installables for Solaris 9. The Collabnet portal lists the SVN for Solaris 10, and I had to google for more than ten minutes to locate SVN for Sol 9, and at last it was at Sunfreeware.com which has moved the packages to unixpackages.com

Initally I installed SVN 1.4.5(subversion-1.4.5-sol9-sparc-local.tar.gz)

This version requires following depencies to be satisfied
apache-2.2.6
db-4.2.52.NC
expat-2.0.1
gdbm-18.3
libgcc-3.4.6
libiconv-1.11
libxml2-2.6.31
neon-0.25.5
openssl-0.9.8h
swig-1.3.29
zlib-1.2.3

I donwloaded the above packages and copied them in a folder along with subversion packages.

You need pkgadd to install these packages which usually resides in /usr/sbin/

Run the below shell loop to install all the above packages:
for i in `ls`;do echo $i; pkgadd  -d $i ;done;


No comments:

Post a Comment