./configure --prefix=/usr/local/svn --with-apxs=/usr/local/aapache/bin/apxs --with-apr=/usr/local/apache/ --with-apr-util=/usr/local/apache/ --with-ssl-enable-maintainer-mode
Error:找不到/usr/src/subversion-1.7.2/sqlite-amalgamation/sqlite3.c文件 mkdir: usr/src/subversion-1.7.2/sqlite-amalgamation
需要解压sqlite-amalgamation-3.6.13.tar.gz 。把sqlite3.c文件复制到 usr/src/subversion-1.7.2/sqlite-amalgamation/
然后重新配置
然后输入 svn –version出现svn的版本号, [root@bogon modules]# svn --version svn, version 1.7.2 (r1207936)
compiled Dec 6 2011, 13:10:20
Copyright (C) 2011 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/ The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk. - handles 'file' scheme
缺少ra_dav模块
需要安装neon文件.wget http://www.webdav.org/neon/neon-0.25.5.tar.gz
tar –zxvf neon-0.25.5.tar.gz –C /us/src cd /usr/src/neon-0.25.5.tar.gz ./configure –prefix=/usr/local/neon Make && make install 重新配置svn:
./configure --prefix=/usr/local/svn --with-apxs=/usr/local/aapache/bin/apxs --with-apr=/usr/local/apache/ --with-apr-util=/usr/local/apache/ --with-ssl-enable-maintainer-mode
--with-neon=/usr/local/neon Make && make install Svn –version
[root@bogon ~]# svn --version svn, version 1.7.2 (r1207936)
compiled Dec 6 2011, 13:10:20
Copyright (C) 2011 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/
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. - with Cyrus SASL authentication - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk. - handles 'file' scheme
Svn安装结束
因篇幅问题不能全部显示,请点此查看更多更全内容