View Single Post
Posts: 12 | Thanked: 21 times | Joined on Aug 2010 @ Alger
#77
Here is a step by step installation process of subversion and all the tools needed :
Beware, compilation and installation is not optified (add --prefix=/opt on every ./configure, but not tested) and not packaged (didn't dig into it), it's from upstream tarballs.
1) install compiler
Code:
sudo gainroot
apt-get install make gcc g++
exit
2) install wget
Code:
sudo gainroot
apt-get install wget
exit
3) compile m4
3.1) download
Code:
wget -c http://ftp.gnu.org/gnu/m4/m4-1.4.15.tar.gz
3.2) decompress
Code:
gunzip m4-1.4.15.tar.gz
tar -xf m4-1.4.15.tar
rm -f m4-1.4.15.tar
3.3) build
Code:
cd m4-1.4.15
./configure
make
3.4) install
Code:
sudo gainroot
make install
exit
3.5) clean
Code:
cd ..
rm -rf m4-1.4.15
4) compile autoconf
4.1) download
Code:
wget -c http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
4.2) decompress
Code:
gunzip autoconf-2.68.tar.gz
tar -xf autoconf-2.68.tar
rm -f autoconf-2.68.tar
4.3) build
Code:
cd autoconf-2.68
./configure
make
4.4) install
Code:
sudo gainroot
make install
exit
4.5) clean
Code:
cd ..
rm -rf autoconf-2.68
5) install libtool
Code:
sudo gainroot
apt-get install libtool
exit
6) install libsqlite3-dev
Code:
sudo gainroot
apt-get install libsqlite3-dev
exit
7) compile apr
7.1) download
Code:
wget -c http://apache.mirrors.tds.net//apr/apr-1.4.5.tar.gz
7.2) decompress
Code:
gunzip apr-1.4.5.tar.gz
tar -xf apr-1.4.5.tar
rm -f apr-1.4.5.tar
7.3) build
Code:
cd apr-1.4.5
./configure
make
7.4) install
Code:
sudo gainroot
make install
exit
7.5) clean
Code:
cd ..
rm -rf apr-1.4.5
8) compile aprutil
8.1) download
Code:
wget -c http://apache.mirrors.tds.net//apr/apr-util-1.3.12.tar.gz
8.2) decompress
Code:
gunzip apr-util-1.3.12.tar.gz
tar -xf apr-util-1.3.12.tar
rm -f apr-util-1.3.12.tar
8.3) build
Code:
cd apr-util-1.3.12
./configure
make
8.4) install
Code:
sudo gainroot
make install
exit
8.5) clean
Code:
cd ..
rm -rf apr-util-1.3.12
9) compile diffutils
9.1) download
Code:
wget -c http://ftp.gnu.org/gnu/diffutils/diffutils-3.2.tar.gz
9.2) decompress
Code:
gunzip diffutils-3.2.tar.gz
tar -xf diffutils-3.2.tar
rm -f diffutils-3.2.tar
9.3) build
Code:
cd diffutils-3.2
./configure
make
9.4) install
Code:
sudo gainroot
make install
exit
9.5) clean
Code:
cd ..
rm -rf diffutils-3.2
10) compile subversion
10.1) download
Code:
wget -c http://subversion.tigris.org/downloads/subversion-1.6.17.tar.gz
10.2) decompress
Code:
gunzip subversion-1.6.17.tar.gz
tar -xf subversion-1.6.17.tar
rm -f subversion-1.6.17.tar
10.3) build
Code:
cd subversion-1.6.17
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
make
10.4) install
Code:
sudo gainroot
make install
exit
10.5) clean
Code:
cd ..
rm -rf subversion-1.6.17
 

The Following 2 Users Say Thank You to brahim98 For This Useful Post: