Installation 如何在Redhat Enterprise Linux 6.0上安装pysvn?

Installation 如何在Redhat Enterprise Linux 6.0上安装pysvn?,installation,redhat,pysvn,Installation,Redhat,Pysvn,我今天尝试在服务器上安装pysvn,但遇到以下问题: [root@coffish pysvn-1.7.6]# python setup.py install running install running bdist_egg running egg_info writing pysvn.egg-info/PKG-INFO writing top-level names to pysvn.egg-info/top_level.txt writing dependency_links to pysv

我今天尝试在服务器上安装pysvn,但遇到以下问题:

[root@coffish pysvn-1.7.6]# python setup.py install
running install
running bdist_egg
running egg_info
writing pysvn.egg-info/PKG-INFO
writing top-level names to pysvn.egg-info/top_level.txt
writing dependency_links to pysvn.egg-info/dependency_links.txt
reading manifest file 'pysvn.egg-info/SOURCES.txt'
writing manifest file 'pysvn.egg-info/SOURCES.txt'
Info: Configure for python 2.6.5 in exec_prefix /usr
Info: Found  PyCXX include in /usr/local/src/pysvn-1.7.6/Import/pycxx-6.2.4
Info: Found  PyCXX include in /usr/local/src/pysvn-1.7.6/Import/pycxx-6.2.4
Info: Found   PyCXX Source in /usr/local/src/pysvn-1.7.6/Import/pycxx-6.2.4/Src
('Error:', 'cannot find SVN include svn_client.h - use --svn-inc-dir')
make: *** No rule to make target `clean'.  Stop.
make: *** No targets.  Stop.
make: *** No rule to make target `egg'.  Stop.
error: Not a URL, existing file, or requirement spec: 'dist/pysvn-1.7.6-py2.6-linux-       i686.egg'
我还试图找到一个svn_client.h文件,并将其放在当前目录下,但没有成功。建议下载subversion客户端包。但是什么是subversion客户端包


我怎样才能解决这个问题

您是否安装了subversion和subversion-devel软件包

subversion-devel.i686 : Development package for the Subversion libraries
subversion.i686 : A Modern Concurrent Version Control System
再见

似乎有人回答了

您并没有提到python版本,但若您使用的是较旧的python版本,那个么这个问题很容易解决。我有Python2.6.6,答案对我适用


安装说明在INSTALL.html中

我也遇到了同样的问题。我找到了这个解决方案,它正在发挥作用

从下载最新的epel版本rpm

目前:

wgethttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

安装epel释放rpm:

rpm-Uvh epel释放*rpm

安装pysvn rpm软件包:

yum安装pysvn