Redhat 6 SVN客户端RapidSVN安装
安装 apr-1.5.2.tar.gz
- snippet.bash
cd apr-1.5.2 ./configure --prefix=/usr/local/apr-1.5.2 make make install
安装 apr-util-1.5.4.tar.gz
- snippet.bash
cd apr-util-1.5.4 ./configure --prefix=/usr/local/apr-util-1.5.4 --with-apr=/usr/local/apr-1.5.2/ make make install
安装zlib-1.2.8.tar.gz
- snippet.bash
cd zlib-1.2.8 ./configure --prefix=/usr/local/zlib-1.2.8 make make install
安装sqlite-autoconf-3090100.tar.gz
- snippet.bash
./configure --prefix=/usr/local/sqlite-3.9.1 make make install
安装openssl-1.0.0s.tar.gz
- snippet.bash
./config --prefix=/usr/local/openssl-1.0.0s -shared ./config -t make depend make make install
安装scons-2.3.6-1.noarch.rpm
安装serf-1.3.8.tar.bz2
- snippet.bash
cd serf-1.3.8 scons PREFIX=/usr/local/serf-1.3.8 APR=/usr/local/apr-1.5.2 APU=/usr/local/apr-util-1.5.4 OPENSSL=/usr/local/openssl-1.0.0s scons install
安装 subversion-1.8.14.tar.gz
cd subversion-1.8.14
sqlite-amalgamation文件夹拷贝到subversion-1.8.14目录下。
- snippet.bash
./configure --prefix=/usr/local/subversion-1.8.14 --with-apr=/usr/local/apr-1.5.2/ --with-apr-util=/usr/local/apr-util-1.5.4/ --with-zlib=/usr/local/zlib-1.2.8/ --with-sqlite=/usr/local/sqlite-3.9.1/ --with-serf=/usr/local/serf-1.3.8 --with-openssl make make install cp /usr/local/serf-1.3.8/lib/libserf-1.so.1 /usr/lib/libserf-1.so.1
安装 wxGTK-2.8.12.tar.gz
- snippet.bash
cd wxGTK-2.8.12 ./configure --prefix=/usr/local/wxGTK-2.8.12 --with-gtk make make install ldconfig
跳到rapidsvn-0.12.1目录,进行rapidsvn的编译。
在rapidsvn-0.12.1/doc/svncpp/目录下新建一个空文档,命名为svncpp.dox。
- snippet.bash
./configure --prefix=/usr/local/rapidsvn-0.12.1 --with-apr-config=/usr/local/apr-1.5.2/bin/apr-1-config --with-apu-config=/usr/local/apr-util-1.5.4/bin/apu-1-config --with-svn-include=/usr/local/subversion-1.8.14/include/ --with-svn-lib=/usr/local/subversion-1.8.14/lib/ --with-wx-config=/usr/local/wxGTK-2.8.12/bin/wx-config make make install
安装完毕
- snippet.bash
cd /usr/local/rapidsvn-0.12.1/bin
运行程序
- snippet.bash
./rapidsvn
提示缺少一系列库文件(lib)
- snippet.bash
cp /usr/local/wxGTK-2.8.12/lib/libwx_gtk2_richtext-2.8.so.0 /usr/lib64/libwx_gtk2_richtext-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_gtk2_aui-2.8.so.0 /usr/lib64/libwx_gtk2_aui-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_gtk2_xrc-2.8.so.0 /usr/lib64/libwx_gtk2_xrc-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_gtk2_qa-2.8.so.0 /usr/lib64/libwx_gtk2_qa-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_gtk2_html-2.8.so.0 /usr/lib64/libwx_gtk2_html-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_gtk2_adv-2.8.so.0 /usr/lib64/libwx_gtk2_adv-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_gtk2_core-2.8.so.0 /usr/lib64/libwx_gtk2_core-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_base_xml-2.8.so.0 /usr/lib64/libwx_base_xml-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_base_net-2.8.so.0 /usr/lib64/libwx_base_net-2.8.so.0 cp /usr/local/wxGTK-2.8.12/lib/libwx_base-2.8.so.0 /usr/lib64/libwx_base-2.8.so.0
打赏作者以资鼓励: