1、svn的源代码
可以在官方下载,官方地址 :svn 1.6.17源码包
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74
这里选择subversion-1.6.17.tar.gz 和subversion-deps-1.6.17.tar.gz下载
2、解压
tar xjf subversion-1.6.17.tar.bz2 tar xjf subversion-deps-1.6.17.tar.bz2
注意:解压后的文件应该在同一个目录,如:subversion-1.6.17
否则会提示:configure: error: no suitable apr found
因为上面的依赖文件没有解压到相同目录下导致的
3、检查配置
#./autogen.sh
# ./configure
4、编译和安装
# make
# make install
5、查看svn版本信息,以检查是否安装成功
svn, version 1.6.17 (r1128011) compiled Dec 42014, 14:34:46 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.apache.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles 'http' scheme - handles 'https' scheme