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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章