標籤:des style blog http io ar color os sp
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.gztar xjf subversion-deps-1.6.17.tar
注意:解壓後的檔案應該在同一個目錄,如:subversion-1.6.17
否則會提示:configure: error: no suitable apr found
因為上面的依賴檔案沒有解壓到相同目錄下導致的
3、檢查配置
#./autogen.sh # ./configure
4、編譯和安裝
# make# make install
5、查看svn版本資訊,以檢查是否安裝成功
# svn --versionsvn, 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
風波
mail : [email protected]
linux-centos下原始碼安裝subversion (svn)