??Subversion1.8之后,http资源类型支持库,apache从该版本之后,舍弃了neon。Subversion1.8中http客户端基于neon已经被移除,改用self。如果要支持http方式需要在安装svn前安装serf,安装serf推荐用serf-1.2.1,安装是./configure;由于google官网下载比较麻烦,所有我这里分享给大家。好运!
源码安装svnserf_v1.2.1:
Linux下编译Serf_v1.2.1源码时,提示以下错误,有知道解决方法的朋友吗,麻烦共享下,谢谢!
/svn_setup/lib/libssl.a(s23_clnt.o):relocationR_X86_64_32against`.rodata'cannotbeusedwhenmakingasharedobject;recompilewith-fPIC/svn_setup/lib/libssl.a:couldnotreadsymbols:Badvaluecollect2:ldreturned1exitstatusmake:***[libserf-1.la]Error1
解决方案:出现此错误是在ubuntu环境中源码编译Svn时,安装serf_1.2.1出现的,
重新编译openssl时,添加上-fPIC,--enable-share参数即可解决上述错误
serf-1.3.0安装是用scons(yum-yinstallscons)方式,安装serf-1.3.0后安装可能会报误,Google没找到解决方法,如下报错
checking?for?serf-2?library...nochecking?for?serf-1?library...nocheckingwasserfenabled...noAnappropriateversionofserfcouldnotbefound,solibsvn_ra_serfwillnotbebuilt.Ifyouwanttobuildlibsvn_ra_serf,please?install?serf?1.2.1?ornewer.configure:error:Serfwasexplicitlyenabledbutanappropriateversionwasnotfound.
安装步骤:
本文只基于《LAMP一键安装包》之后进行1.?安装apr、apr-unit
cd/root/lamp/source#wget#LAMP中已经下载#wgettarxzfapr-1.4.8.tar.gzcdapr-1.4.8./configure--prefix=/usr/local/apachemake&&makeinstallcd../tarxzfapr-util-1.5.2.tar.gzcdapr-util-1.5.2./configure--prefix=/usr/local/apachemake&&makeinstallcd../
2.?安装serf-1.2.1
yum-yinstallexpat-develwget#serf-1.2.1.zip是win版有问题tarxjfserf-1.2.1.tar.bz2cdserf-1.2.1./configure--prefix=/usr/local/serf--with-apr=/usr/local/apache--with-apr-util=/usr/local/apachemake&&makeinstallcd..
3.?安装svn
tarxzfsubversion-1.8.1.tar.gzcdsubversion-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-activationmake&&makeinstallcd..
4.?检查是否安装成功安装成功会在/usr/local/apache/conf/httpd.conf自己加入下面2行
LoadModuledav_svn_module/usr/local/subversion/libexec/mod_dav_svn.soLoadModuleauthz_svn_module/usr/local/subversion/libexec/mod_authz_svn.so
检查svn是否支持http方式:
#svn--versionsvn,version1.8.1(r1503906)compiledAug22013,11:36:48onx86_64-unknown-linux-gnuCopyright(C)2013TheApacheSoftwareFoundation.Thissoftwareconsistsofcontributionsmadebymanypeople;seetheNOTICEfileformoreinformation.Subversionisopensourcesoftware,seeThefollowingrepositoryaccess(RA)modulesareavailable:*ra_svn:Moduleforaccessingarepositoryusingthesvnnetworkprotocol.-withCyrusSASLauthentication-handles'svn'scheme*ra_local:Moduleforaccessingarepositoryonlocaldisk.-handles'file'scheme*ra_serf:ModuleforaccessingarepositoryviaWebDAVprotocolusingserf.-handles'http'scheme-handles'https'scheme
Tags:svn.
小编点评:魅影流声全球网络收音机是一款功能强.
下载小编点评:mailenable是一款功能强大的邮件服.
下载小编点评:田径运动会管理软件是一款为需要举办田径.
下载小编点评:GuildFTPd是一款功能独特的.
下载小编点评:回忆电子书下载工具是一款能让用户免费下.
下载小编点评:adobereader电脑版下载是美国Ado.
下载小编点评:老婆要吃饼吗套路表情包是一组非常受欢迎的.
下载小编点评:想让自己电脑的时间变的精确吗?想让.
下载小编点评:乌鸦的面纱是一款以中世纪战争为背景的即时战略.
下载小编点评:amlogic晶晨固件烧写工具USB_.
下载小编点评:搜索引擎排名查询器软件基于AIR开发,使用前.
下载小编点评:神墓永恒爱恋1.71是神墓永恒爱恋的最.
下载小编点评:软件介绍中焯投资堂手机金融软件平台.
下载Acala DVD Audio Ripper(音频截取软件下载)V1.0.0.1下载
CCViewer V1.0.0下载
纬地三维道路CAD软件V5.6下载
Boxoft JavaScript NewsTicker下载-新闻编辑工具 v1.1
战争公约手游官方下载-战争公约最新版本下载v2.1.15 安卓版
吞食天地归来手游变态版下载-吞食天地归来私服下载v4 安卓版
海王恋爱攻略手游下载-海王恋爱攻略游戏下载v100.0.0 安卓版
新华通大智慧校园app最新版下载-新华通大智慧校园官方版下载v6.0 安卓版
魂斗罗2清晰智能版游戏下载-魂斗罗2清晰智能版下载v7.3.9 安卓版
战鹰雄风手游下载-战鹰雄风官方正版下载v3.1.3 安卓最新版
音速少女队手游下载-音速少女队中文版下载v2.0 安卓汉化版
打拳女王手游下载-打拳女王最新版下载v1.0 安卓版
荒野行动大逃杀手游下载-网易荒野行动大逃杀正版下载v1.264.479195 安卓最新版