++++++++++++++++++++++++++++++++++++++++++++++
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]
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