论坛风格切换切换到宽版
  • 968阅读
  • 7回复

[问题求助][CentOS] 怎么安装SVN? [复制链接]

上一主题 下一主题
离线ghjp.
 
发帖
1950
C币
-60699
威望
382
贡献值
1
银元
-1
铜钱
4379
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我想以svn.server的方式配置我的服务器。。。虚拟主机
但是./conf.igure的时候错.误不能通过,,因为他要APR             电子
谢谢

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线besthome.
发帖
2167
C币
-60450
威望
400
贡献值
1
银元
0
铜钱
4842
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
Re:[CentOS]
yum install svnserver

离线b88954966.
发帖
1978
C币
-235378
威望
361
贡献值
1
银元
-4
铜钱
4576
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
Re:[CentOS]
==================================================================
WARNING: skipping the build of mod_dav_svn
         --with-apxs or --with-apache must be used
==================================================================
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 supply the appropriate
--with-apr option to 'configure'

or

get it with SVN and put it in a subdirectory of this source:

   svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x \
    apr

Run that right here in the top level of the Subversion tree.
Afterwards, run apr/buildconf in that subdirectory and
then run configure again here.

Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:

   svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x \
    apr-util

configure: error: no suitable apr found

发帖
2043
C币
-235292
威望
375
贡献值
1
银元
-3
铜钱
4576
人人网人气币
0
只看该作者 地板  发表于: 2010-04-14
Re:[CentOS]
yum install svnserver

离线b489355623.
发帖
2084
C币
-140685
威望
360
贡献值
1
银元
-4
铜钱
4611
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-14
Re:[CentOS]
[root@localhost httpd-2.2.9]# yum install svnserver
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras                    100% |=========================| 1.1 kB    00:00    
updates                   100% |=========================|  951 B    00:00    
base                      100% |=========================| 1.1 kB    00:00    
addons                    100% |=========================|  951 B    00:00    
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

离线pkx520.
发帖
2006
C币
-235498
威望
354
贡献值
1
银元
-4
铜钱
4577
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-14
Re:[CentOS]
WARNING: skipping the build of mod_dav_svn
         --with-apxs or --with-apache must be used
这句提示有尝试么?似乎是说你的apache没装。

离线kaerdd.
发帖
2017
C币
-549385
威望
385
贡献值
3
银元
0
铜钱
4377
人人网人气币
0
只看该作者 6楼 发表于: 2010-04-14
Re:[CentOS]
不行再试试 yum search svn

离线sfs041134.
发帖
2126
C币
-60295
威望
402
贡献值
1
银元
-1
铜钱
4790
人人网人气币
0
只看该作者 7楼 发表于: 2010-04-14
Re:[CentOS]
楼主的问题解决了吗?
编译的时候带上这些参数:
#./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apache--with-apr-util=/usr/local/apache --with-ssl --with-zlib --enable-maintainer-mode

然后再make && make install

快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个