下载站

展开
精品推荐
Linux SVN服务器svn serf 1.2.1

Linux SVN服务器svn serf 1.2.1

服务器区大小:266.12MB语言: / 类别:网络工具系统: / linux 提供:
应用介绍

??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.

应用推荐查看更多
热门下载查看更多
精选应用
点击查看更多
专题合集查看更多
热门专题查看更多
友情链接0投诉联系:ichaoinc@gmail.com