svn错误svn: E170000: Unrecognized URL scheme for http
所需的包:
apr-1.4.6.tar.gz apr-util-1.4.1.tar.gz scons-2.4.1.tar.gz serf-1.3.8.zip sqlite-amalgamation-3071300.zip subversion-1.8.9.tar.gz
1
2
3
4
5
6
7
8
|
yum remove subversion tar -xzf apr-1.4.6.tar.gz cd apr-1.4.6 ./configure ./configure --prefix=/usr/local/apr
make make install cd .. |
1
2
3
4
5
6
|
tar -xzf apr-util-1.4.1.tar.gz cd apr-util-1.4.1 ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
make make install cd .. |
svn 1.8版本之前的需要neon,1.8版本之后弃用neon而改使用serf
serf需要安装scons,由scons安装serf
1
2
3
4
5
6
7
8
9
10
11
|
tar -xzf scons-2.4.1.tar.gz cd scons-2.4.1 python setup.py install scons yum -y install expat-devel cd /data/serf-1.3.8 scons PREFIX=/usr/local/serf APR=/usr/local/apr APU=/usr/local/apr-util scons -Y /data/serf-1.3.8 scons PREFIX=/usr/local/serf LIBDIR=/usr/lib64 scons PREFIX=/usr/local/serf install |
1
2
3
4
5
6
7
8
9
|
tar -xzf subversion-1.8.9.tar.gz wget http://www.sqlite.org/sqlite-amalgamation-3071300.zip unzip sqlite-amalgamation-3071300.zip mv sqlite-amalgamation-3071300 ./subversion-1.8.9/sqlite-amalgamation cd subversion-1.8.9 ./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-serf=/usr/local/serf/
make make install svn help |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# svn --version
svn, version 1.8.9 (r1591380) compiled Nov 24 2015, 13:18:50 on x86_64-unknown-linux-gnu
Copyright (C) 2014 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. - 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. - using serf 1.3.8
- handles 'http' scheme
- handles 'https' scheme
|
本文转自 bbotte 51CTO博客,原文链接:http://blog.51cto.com/bbotte/1716332,如需转载请自行联系原作者