svn错误svn: E170000: Unrecognized URL scheme for http

本文详细介绍了如何解决SVN在使用HTTP协议时遇到的E170000错误,并提供了从卸载旧版本到安装配置SVN 1.8.9的全过程步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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



svn 帮助 https://wiki.centos.org/HowTos/Subversion 










本文转自 bbotte 51CTO博客,原文链接:http://blog.51cto.com/bbotte/1716332,如需转载请自行联系原作者
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值