Thursday, April 09, 2009

Install SVN server

cd ~
mkdir src
cd ~/src
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.3.4.tar.gz
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.3.3.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.6.0.tar.gz
wget http://www.webdav.org/neon/neon-0.28.4.tar.gz
wget http://www.sqlite.org/sqlite-amalgamation-3.6.11.tar.gz

tar -xzf apr-util-1.3.4.tar.gz
tar -xzf apr-1.3.3.tar.gz
tar -xzf subversion-1.6.0.tar.gz
tar -xzf neon-0.28.4.tar.gz
tar -xzf sqlite-amalgamation-3.6.11.tar.gz

cd ~/src/apr-1.3.3
./configure --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/apr-util-1.3.4
./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/neon-0.28.4
./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"
make
make install

cd ~/src/sqlite-amalgamation-3.6.11
make
make install

cd ~/src/subversion-1.6.0
cp ../sqlite-3.6.11/sqlite3.c sqlite-amalgamation/sqlite3.c
./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"
make
make install

(You may get some warming message, but it is ok)

More info:
Follow instruction on: http://www.bluehostforum.com/showthread.php?t=12099 (more detail on the 2nd page to make svn checkable to local)