SVN1.7.9 安装不上neon (ra_dav装载不上)

安装SVN1.7.9时,虽然在configure语句中使用了  --with-neon=/usr/local/neon 参数,但是ra_dav始终安装不上。 且配置和安装过程中没有任何报错。


郁闷至极,查阅了无数篇帖子,终于发现有人和我遇到过同样的问题。 原来是执行下面的配置语句时并没有成功。

[root@huadi-160219095359 subversion-1.7.9]#  ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/bin/apr-1-config --with-apr-util=/usr/local/apache/bin/apu-1-config   --with-neon=/usr/local/neon  > logfile


打开生成的logfile文件,查找neon,发现如下问题:

......

configure: checking neon library
checking neon library version... 0.30.1
You have neon version 0.30.1,
but Subversion needs neon 0.29.6.

An appropriate version of neon could not be found, so libsvn_ra_neon
will not be built.  If you want to build libsvn_ra_neon, please
install neon 0.29.6 on this system.

.......

原来是我下载的neon版本不对,libsvn_ra_neon没有build成功。

重新下载了neon-0.29.5.tar.gz,

# tar xvf neon-0.29.5.tar.gz

# ./configure  --prefix=/usr/local/neon --with-ssl=openssl --enable-shared  (一定要加--enable-shared 参数)

# make && make install

然后重新安装SVN1.7.9,就成功了


[root@huadi-160219095359 subversion-1.7.9]# svn --version
svn, version 1.7.9 (r1462340)
   compiled Apr 15 2016, 10:02:35

Copyright (C) 2013 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
  - handles 'https' 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


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

w171066

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值