Subversion1.8以后,http资源支持库,Apache从该版本号以后,放弃了neon。Subversion 1.8中http手机客户端根据neon早已被清除,改成self。假如要支持http方式必须在安装svn前安装serf,安装serf强烈推荐用serf-1.2.1,安装是./configure;因为Google官方网站下载较为不便,全部我这里共享给大伙儿。好运气!
源码安装svn serf_v1.2.1:
Linux下编译Serf_v1.2.1源码时,提醒下列错误,有了解解决方案的玩家吗,不便共享资源下,感谢!
/svn_setup/lib/libssl.a(s23_clnt.o): relocation R_X86_64_32 against `.rodata can not be used when making a shared object; recompile with -fPIC/svn_setup/lib/libssl.a: could not read symbols: Bad valuecollect2: ld returned 1 exit statusmake: *** [libserf-1.la] Error 1
解决方法:发生此错误是在Ubuntu自然环境中源码编译Svn时,安装serf_1.2.1发生的,
再次编译OpenSSL时,加上上 -fPIC,--enable-share主要参数就可以处理以上错误
serf-1.3.0安装是用scons(yum -y install scons)方式,安装serf-1.3.0后安装很有可能会报误,Google没找到解决方案,如下所示出错
checkingforserf-2library... no checkingforserf-1library... no checking was serf enabled... no An appropriate version of serf could not be found, so libsvn_ra_serf will not be built. If you want to build libsvn_ra_serf, pleaseinstallserf1.2.1or newer. configure: error: Serf was explicitly enabled but an appropriate version was not found.
文中只根据《LAMP一键安装包》以后开展1.安装apr、apr-unit
cd /root/lamp/source #wget #LAMP中早已免费下载 #wget tar xzf apr-1.4.8.tar.gz cd apr-1.4.8 ./configure --prefix=/usr/local/apache make make install cd ../ tar xzf apr-util-1.5.2.tar.gz cd apr-util-1.5.2 ./configure --prefix=/usr/local/apache make make install cd ../
2.安装serf-1.2.1
yum -y install expat-devel wget #serf-1.2.1.zip是win版有什么问题 tar xjf serf-1.2.1.tar.bz2 cd serf-1.2.1 ./configure --prefix=/usr/local/serf --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache make make install cd ..
3.安装svn
tar xzf subversion-1.8.1.tar.gz cd subversion-1.8.1 ./get-deps.sh ./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache/bin/apxs \ --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-zlib \ --with-openssl --enable-maintainer-mode --with-serf=/usr/local/serf --enable-mod-activation make make install cd ..
4.查验是不是安装取得成功安装取得成功会在/usr/local/apache/conf/httpd.conf自身添加下边2行
LoadModule dav_svn_module /usr/local/subversion/libexec/mod_dav_svn.so LoadModule authz_svn_module /usr/local/subversion/libexec/mod_authz_svn.so
查验svn是不是支持http方式:
# svn --version svn, version 1.8.1 (r1503906) compiled Aug 2 2013, 11:36:48 on x86_64-unknown-linux-gnu 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 The following repository Access (RA) modules are available: * 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 * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles http scheme - handles https scheme
其他版本
相关攻略
相关专题网络服务器是网站建设过程中不可缺少的环节。如何选择一个好的Web服务器?什么是Web服务器?现在互联网上有许多免费的网络服务器。这个网站提供了一系列实用的Web服务器软件下载。特别是,建议使用第一个mywebserver。它支持HTTP/1.1、断点连续传输、大文件下载等多种功能。它的性能完全超过了许多主流的Web服务器软件,如IIS。对于您来说,快速构建网站和个人HTTP文件服务器是一种罕见的工具。多特软件专题为您提供Web服务器,配置web服务器,免费web服务器。多特软件站只提供绿色、无毒、无插件、
多特软件专题为您提供服务器软件,网站服务器软件,虚拟服务器软件,安卓苹果版软件app一应俱全。
多特软件专题为您提供反编译工具,反编译工具在线翻译,exe反编译工具;安卓苹果版软件app一应俱全。多特软件站只提供绿色、无毒、无插件、无木马的纯绿色工具下载
c语言编译手机软件,强烈推荐应用VC++6.0汉化版,由于国家考试用的就是那个,当然也有TurboC这一也是之前国家考试用的,可是这种版本很年纪大了,并且沒有如今的便捷,例如你碰到了难题想来资询下他人,老版本的尤其是较为经典的turboc2.0的,你需要把原先的编码在写一遍才行,而VisuslC++6.0的则可以用电脑鼠标开展拷贝实际操作,很是便捷,并且VC也有全自动用不一样的颜色来显示信息不一样种类的编码,对新手而言,是个非常好的改错作用,例如你的关键词打错,颜色是会变的。由于dev自身存有很多缺点,反倒使你可以有着更好的习惯,等到你用dev能够掌控难点的情况下,你能感觉其他手机软件强劲的调节作用说到底不必要的。

同类排行









最近更新








