Compile svn for XDA

Download sources for subversion, apr, apr-util and sqlite3.

Extract them, compile each and install them

Compile svn with support for these packages.

 

 

cd ~/myapps
wget http://archive.apache.org/dist/subversion/subversion-1.7.7.tar.bz2
tar -jxvvf subversion-1.7.7.tar.bz2
wget http://archive.apache.org/dist/apr/apr-1.4.6.tar.gz
tar -xvvf apr-1.4.6.tar.gz
cd apr-1.4.6
./configure --prefix=/home/droidzone/myapps
make ; make install
cd ..
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/droidzone/myapps/lib
wget http://archive.apache.org/dist/apr/apr-util-1.5.1.tar.gz
tar -xvvf apr-util-1.5.1.tar.gz
cd apr-util-1.5.1
./configure --prefix=/home/droidzone/myapps --with-apr=/home/droidzone/myapps
make ; make install
cd ..
wget http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz
tar -xvvf sqlite-autoconf-3071401.tar.gz
cd subversion-1.7.7
mkdir -p /home/droidzone/myapps/subversion-1.7.7/sqlite-amalgamation
cp ../sqlite-autoconf-3071401/sqlite3.c /home/droidzone/myapps/subversion-1.7.7/sqlite-amalgamation/sqlite3.c
./configure --prefix=/home/droidzone/myapps --with-apr=/home/droidzone/myapps --with-apr-util=/home/droidzone/myapps
make ; make install

[/code]