linux下subversion安装

++++++++++++++++++++++++++++++++++++++++++++++
linux下subversion安装
++++++++++++++++++++++++++++++++++++++++++++++
操作系统    : [CentOS6.0]
sqlite          : [sqlite-autoconf-3070900]
svn          : [subversion-1.7.1]
++++++++++++++++++++++++++++++++++++++++++++++
准备安装软件(download)
 1> [expat]
        http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
 2> [neon-0.25.5]
        http://download.chinaunix.net/down.php?id=14696&ResourceID=7263&site=1
 3> [sqlite]
        http://www.sqlite.org/sqlite-autoconf-3070900.tar.gz
 4> [subversion-1.7.1]
        http://apache.etoak.com/subversion/subversion-1.7.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++
1>[安装expat]
tar -zxvf expat-2.0.1.tar.gz
cd expat-2.0.1
./configure
make
make install
2>[安装neon-0.29.6]
tar -zxvf neon-0.25.5.tar.gz
cd neon-0.25.5
./configure --prefix=/usr/local/neon
make
make install
3>[安装subversion]
#直接编译安装subversion时,提示
#configure: error: Subversion requires SQLite, 
#原因是:需要依赖Sqlite。
#复制sqlite3.c到subversion源码文件sqlite-amalgamation目录下,
#如果没有sqlite-amalgamation目录,手动新建一个即可。
tar -zxvf subversion-1.7.1.tar.gz
tar -zxvf sqlite-autoconf-3070900.tar.gz
cd subversion-1.7.1
mkdir sqlite-amalgamation
cp ../sqlite-autoconf-3070900/sqlite3.c sqlite-amalgamation/
./configure --prefix=/usr/local/subversion --with-neon=/usr/local/neon
make
make install
#将svn命令链接到/usr/local/bin目录下(需要root权限)
ln –s /usr/local/subversion/bin/svn /usr/local/bin
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值