当前位置: 首页 > 工具软件 > RapidSVN > 使用案例 >

centos7上安装rapidsvn实验或实践?

申颖逸
2023-12-01
安装包:
apr-1.5.2.tar.bz2
apr-util-1.5.4.tar.bz2
neon-0.28.2.tar.gz
wxWidgets-2.8.12.tar.gz (rapidsvn-0.12.1貌似不支持wxWidgets-3.0.2,嘿嘿)
subversion-1.8.17.tar.gz (rapidsvn-0.12.1貌似不支持subversion-1.9.5.tar.gz,嘿嘿)
rapidsvn-0.12.1.tar.gz

步骤:

先装svn及依赖库和wxWidgets库,再装rapidsvn


tar -jxvf apr-1.5.2.tar.bz2
cd apr-1.5.2
./configure
make
make install

tar -jxvf apr-util-1.5.4.tar.bz2
cd apr-util-1.5.4
./configure --with-apr=/usr/local/apr  //(这里使用whereis apr得到这个路径,下面安装rapidsvn时也用)
make
make install

tar -zxvf neon-0.28.2.tar.gz
cd neon-0.28.2
./configure
make
make install

yum install gtk2 gtk2-devel gtk2-devel-docs
tar -zxvf wxWidgets-2.8.12.tar.gz
cd wxWidgets-2.8.12
./configure
make
make install

tar -zxvf subversion-1.8.17.tar.gz
cd subversion-1.8.17
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
make
make install

tar -zxvf rapidsvn-0.12.1.tar.gz
cd rapidsvn-0.12.1
./configure --with-apr-config=/usr/local/apr/bin/apr-1-config --with-apu-config=/usr/local/apr/bin/apu-1-config --with-wx-config=/usr/local/bin/wx-config --with-svn-lib=/usr/local/lib --with-svn-include=/usr/local/include
make

make install

实验成果:

rapidsvn安装在/usr/local/bin/rapidsvn (再次用whereis rapidsvn可以找到)
 类似资料: