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
網盤下載地址??鏈接:?https://pan.baidu.com/s/1slyYfnB?密碼: 3fsr
?
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 # ./configure4、編譯和安裝
# make # make install?5、查看svn版本信息,以檢查是否安裝成功
# svn --version svn, version 1.6.17 (r1128011)compiled Dec 4 2014, 14:34:46Copyright (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?
本文轉自郝峰波博客園博客,原文鏈接:http://www.cnblogs.com/fengbohello/p/4142810.html,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的linux-centos下源代码安装subversion (svn)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 玩转webpack(一)下篇:webpa
- 下一篇: Exchange 2007 SP1 如何