首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > CVS SVN >

linux下源码编译subversion(SVN)-解决ra_dav模块加载有关问题(HTTP)

2012-07-26 
linux下源码编译subversion(SVN)-解决ra_dav模块加载问题(HTTP)linux下源码编译subversion(SVN)-解决ra_da

linux下源码编译subversion(SVN)-解决ra_dav模块加载问题(HTTP)
linux下源码编译subversion(SVN)-解决ra_dav模块加载问题,ra_dav用于svn通过http:// URL进行项目的操作。
源码安装完成后通过svn --version 显示是ra_dav、ra_svn、ra_local个模块的话,则安装成功。

[root@localhost subversion-1.4.0]# svn --versionsvn,版本 1.4.0 (r21228)   编译于 Oct 12 2011,16:23:54Copyright (C) 2000-2006 CollabNet.Subversion is open source software, see http://subversion.tigris.org/This product includes software developed by CollabNet (http://www.Collab.Net/).可使用以下的档案库存取 (RA) 模块:* ra_dav : 通过WebDAV (DeltaV) 协议访问档案库的模块。  - handles 'http' scheme  - handles 'https' scheme* ra_svn : 使用svn网络协议访问档案库的模块。  - handles 'svn' scheme* ra_local : 访问本地磁盘的档案库模块。  - handles 'file' scheme[root@localhost subversion-1.4.0]# 

但是一般地话ra_local、ra_svn是默认安装。对于ra_dav需要下在neon,解压到subversion中,并修改其文件夹名称为neon。注意neon的版本,我安装的svn版本对应的你哦neon好像必须是neon0.25.5,我下最新 的版本安装失败.还有apr, apr-util在apache2中都有的。(/usr/local/apache/为apache2安装的路径)
 [root@localhost subversion-1.4.0]# ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apache/ --with-apr-util=/usr/local/apache/  --enable-maintainer-mode --with-ssl

上面是版本比较低的subversion源码编译安装。
======================================================================
对于高版本的subversion的ra_dav安装。直接先编译neon-0.29.6.tar.gz,无需复制到subversion的源码文件中了。
编译完成后效果:
[root@localhost subversion-1.7.0]# /usr/local/subversion/bin/svn --versionsvn,版本 1.7.0 (r1176462)   编译于 Oct 12 2011,23:19:01Copyright (C) 2011 The Apache Software Foundation.This software consists of contributions made by many people; see the NOTICEfile for more information.Subversion is open source software, see http://subversion.apache.org/可使用以下的版本库访问模块:* ra_neon : 通过 WebDAV 协议使用 neon 访问版本库的模块。  - 处理“http”方案* ra_svn : 使用 svn 网络协议访问版本库的模块。  - 使用 Cyrus SASL 认证  - 处理“svn”方案* ra_local : 访问本地磁盘的版本库模块。  - 处理“file”方案[root@localhost subversion-1.7.0]#


另外附上neon.0.25.5.tar.gz压缩包.

热点排行