linux-centos下源代码安装subversion (svn)

1、svn的源代码

  1.1 可以在官方下载,官方地址 :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下载

  注意:版本号必须一致。

  1.2 或者在我的百度网盘下载 subversion-1.6.17.tar.bz2 和 subversion-deps-1.6.17.tar.bz2

  1.3 如果觉得两个压缩包比较麻烦,我把解压后的文件重新压缩到了一个压缩包,网盘下载地址 subversion-1.6.17-full.tar.bz2

 

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

svn, version 1.6.17 (r1128011)

   compiled Dec  4 2014, 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

 

 

作者:风波

mail : [email protected]

 

你可能感兴趣的:(subversion)