使用的依賴版本:
subversion-1.8.13
scons-2.4.1
serf-1.3.3
autoconf
automake
apr-util-devel
libtool
sqlite-devel
zlib-devel
openssl-devel
對應TortoiseSVN 1.8.12 ,可以在windows下用samba正常訪問。
1)安裝scons
cd scons-2.4.1/
python setup.py install
2)安裝serf
cd serf-1.3.3/
scons PREFIX=/usr/ LIBDIR=/usr/lib64
scons install
3)卸載舊的subversion
如果不卸載,有可能會衝突,因此最好卸載。
yum remove subversion
4)編譯subversion
cd subversion-1.8.13/
./autogen.sh
./configure --with-serf --prefix=/usr/
make
make install
至此OK。檢查版本信息,ra_serf模塊已安裝。
[root@mcu subversion-1.8.13]# svn --version
svn,版本 1.8.13 (r1667537)
編譯於 Oct 9 2016,15:00:03 在 x86_64-unknown-linux-gnu
Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
可使用以下的版本庫訪問模塊:
* ra_svn : 使用 svn 網絡協議訪問版本庫的模塊。 - 使用 Cyrus SASL 認證
- 處理“svn”方案
* ra_local : 訪問本地磁盤的版本庫模塊。
- 處理“file”方案
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.3
- 處理“http”方案
- 處理“https”方案