安装Rapidsvn 0.21.1

  使用rapidsvn 0.21.0这个版本自带的svn1.6,在编译android内核时出错,原因是.svn目录引起的。

  rapidsvn使用subversion-1.7.7,推荐使用!

 

1.安装 apr-1.4.6.tar.gz

tar -zxvf apr-1.4.6.tar.gz

cd apr-1.4.6

./configure --prefix=/usr/local/apr-1.4.6

make

make install

 

2.安装 apr-util-1.5.1.tar.gz

tar -zxvf apr-util-1.5.1.tar.gz

cd apr-util-1.5.1

./configure --prefix=/usr/local/apr-util-1.5.1 --with-apr=/usr/local/apr-1.4.6/

make

make install


3. 安装 pcre

pcre-8.12.zip

http://download.chinaunix.net/download/0008000/7913.shtml

cd pcre-8.12
./configure --prefix=/usr/local/pcre
make
make install 


4. 安装 apatch2

tar -xzf httpd-2.4.6.tar.gz
cd httpd-2.4.6
./configure --prefix=/usr/local/apatch --with-apr=/usr/local/apr-1.4.6 --with-apr-util=/usr/local/apr-util-1.5.1 --with-pcre=/usr/local/pcre
make
make install

 

5.安装expat

tar zxvf expat-2.0.1.tar.gz
cd expat-2.0.1
./configure
make
make install


6.安装neon

tar -xzf neon-0.29.6.tar.gz

cd neon-0.29.6
./configure --prefix=/usr/local/neon
make
make install


8.安装 zlib

tar -zxvf zlib-1.2.8.tar.gz

cd zlib-1.2.8

./configure --prefix=/usr/local/zlib-1.2.8

make

make install


9.安装 subversion-1.7.7.tar.gz

tar -zvxf subversion-1.7.7.tar.gz

cd subversion-1.7.7


拷贝neon-0.9.6到subversion目录,并改名为neon

到http://www.sqlite.org/

下载最新版源码包,解压后将sqlite3.c文件复制到

subversion-1.7.7/sqlite-amalgamation/下(没这个目录就新建一个),然后重新编译


./configure --prefix=/usr/local/subversion-1.7.7 --with-apr=/usr/local/apr-1.4.6/bin/apr-1-config --with-apr-util=/usr/local/apr-util-1.5.1/bin/apu-1-config  --with-apxs=/usr/local/apatch/bin/apxs --with-zlib=/usr/local/zlib-1.2.8/

make

make install


10.安装libgtk2.0-dev

apt-get install libgtk2.0-dev

 

11.安装 wxWidgets-2.8.12.tar.gz

tar -zvxf wxWidgets-2.8.12.tar.gz

cd wxWidgets-2.8.12

./configure --prefix=/usr/local/wxWidgets-2.8.12

make

make install


12.安装rapidsvn

rapidsvn-0.12.1

./configure --prefix=/usr/local/rapidsvn-0.12.1 --with-apr-config=/usr/local/apr-1.4.6/bin/apr-1-config  --with-apu-config=/usr/local/apr-util-1.5.1/bin/apu-1-config --with-svn-include=/usr/local/subversion-1.7.7/include/ --with-svn-lib=/usr/local/subversion-1.7.7/lib/ --with-wx-config=/usr/local/wxWidgets-2.8.12/bin/wx-config

make

make install


ln -s  /usr/local/wxWidgets-2.8.12/lib/libwx_gtk2_adv-2.8.so.0 /usr/lib/libwx_gtk2_adv-2.8.so.0

ln -s  /usr/local/wxWidgets-2.8.12/lib/libwx_gtk2_core-2.8.so.0 /usr/lib/libwx_gtk2_core-2.8.so.0

ln -s  /usr/local/wxWidgets-2.8.12/lib/libwx_gtk2_base-2.8.so.0 /usr/lib/libwx_gtk2_base-2.8.so.0

ln -s  /usr/local/wxWidgets-2.8.12/lib/libwx_base-2.8.so.0 /usr/lib/libwx_base-2.8.so.0


安装完毕



cd /usr/local/rapidsvn-0.12.1/bin

运行程序

./rapidsvn


由subversion1.6升级到subversion1.7的方法:

执行:svn upgrade <path>


你可能感兴趣的:(安装Rapidsvn 0.21.1)