加入收藏 | 设为首页 | Life家族 | SCMLife | RMLife | PMLife | SQALife | TESTLife | 企业VIP专区 | 中文化荣誉殿堂
 
发新话题
打印

[求助] Linux中安装SVN过程中出现错误( 此文章被查看:657次,被回复:2篇!! )

Linux中安装SVN过程中出现错误

Linux版本:Red Hat Enterprise Linux AS release 4 (Nahant Update 2)

http://subversion.tigris.org/ 下载的subversion-1.4.6.tar.gz文件,解压缩执行./configure后,make时出现错误,如下所示。请各位帮忙看看,这事怎么回事。
[root@ZXServer subversion-1.4.6]# ./configure
configure: Configuring Subversion 1.4.6
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for egrep... grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for static Apache module support... no
checking for Apache module support via DSO through APXS... found at /usr/sbin/apxs
checking httpd version... recent enough
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 0.9.4
wanted regexes are 0\.9\.[7-9] 0\.9\.1[0-9] 1\.
configure: error: invalid apr version found
[root@ZXServer subversion-1.4.6]# make
make: *** 没有指明目标并且找不到 makefile。 停止。



© 本文为 tsmstzl2SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

在安装SVN的时候,要指明apr的路径.
通常都是这样的:
./configure --with-apxs=/usr/apache/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/apache --with-apr-util=/usr/apache --with-ssl --with-zlib --enable-maintainer-mode

make
make install



© 本文为 luoqiongJosieJJSCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

我安装的时候,都是先装apr,再装apr-util,httpd和subversion。然后如楼上所说的那样
./configure --with-apxs=/usr/apache/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/apache --with-apr-util=/usr/apache --with-ssl --with-zlib --enable-maintainer-mode



© 本文为 avon78797879SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

发新话题