Credits: Amit Gupta (amitgupta991@gmail.com)
Installing Subversion 1.6.5
Download, unzip and extract the source code:
Download
the version of SVN you wish to install from the tigris ( http://subversion.tigris.org/downloads/subversion-1.6.4.tar.gz) and copy it to the
location you want to install it. Note that you need to have root permission to
install subversion.
Gunzip it using:
gunzip subversion-1.6.4.tar.gz
Now untar it using:
tar –xvf subversion-1.6.4.tar
This will create a directory called
subversion-1.6.4.
Download, unzip and extract the dependencies (source):
http://subversion.tigris.org/downloads/subversion-deps-1.6.4.tar.gz
Gunzip it using
gunzip subversion-deps-1.6.4.tar.gz
Now untar it using
tar –xvf subversion-deps1.6.4.tar
This will
add the contents of the subversion-deps-1.6.4.tar archive into the
subversion-1.6.4 directory.
Now
go to the Directory subversion-1.6.4
Delete/move
serf directory from the extracted directory to some other folder.
cd subversion-1.6.4
rm -rf serf
Build subversion:
Compile and build subversion:steps
are as follows
Also check Make tool is there or not
which make
You would need “apxs” to be passed as an argument for the
“make”
For this you should know the path of
apxs
find . –name “*” | xargs grep “apxs”
You can configure the subversion in
secured mode by configuring it in “ssl” mode.
Add “—with-ssl” to configure the
subversion in SSL mode
Give this command to compile
./configure
--prefix=/opt/svn --with-apx=/usr/local/apache2/bin/apxs –with-ssl
make
make install
Test Subversion:
cd /opt/svn/bin ./svn --version
No comments:
Post a Comment