`
panyimx
  • 浏览: 9863 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

【转】CentOS上安装subversion出现的问题记录

 
阅读更多
Linux发行版:CentOS-5.9-x86_64-bin-DVD-1of2.iso

安装软件:

subversion-1.8.10.tar.gz

apr-1.5.1.tar.gz     apr-util-1.3.9.tar.gz    libtool-1.5.22.tar.gz



1. 首先,下载subversion安装包

路径:http://subversion.apache.org/download/#recommended-release

然后,解压缩、编译、安装,出现下面错误信息。

configure: Apache Portable Runtime (APR) library configuration
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and configure Subversion
with the appropriate --with-apr option.

You probably need to do something similar with the Apache
Portable Runtime Utility (APRUTIL) library and then configure
Subversion with both the --with-apr and --with-apr-util options.

configure: error: no suitable APR found

然后,下载 apr-1.5.1.tar.gz ,解压缩后,cd到安装目录,执行./configure,。

出现这个提示:cannot remove `libtoolT’: No such file or directory

解决方案:编辑 configure文件,查找 $RM "$cfgfile" 这个地方,用#注释掉,然后重新编译安装就可以了。



2.接着安装apr和apr-util

这是个apache的project,全名是Apache Portable Runtime 我们安装的版本是1.5.1,
下面是下载地址 http://apr.apache.org/
先装apr, 先解压,然后cd到安装目录
./configure
make
make install
这里configure的时候不指定路径的话默认是安装到/usr/local/下
然后安装apr-util 解压同apr 然后 cd到安装目录
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
make
make install
完成!
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics