2012-03-13 93 views
2

我想今天我的服務器上安裝pysvn,但下面遇到的一些問題:如何在Redhat Enterprise Linux 6.0上安裝pysvn?

[[email protected] 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文件,並把它放在當前目錄中,但沒有奏效。建議下載顛覆客戶端軟件包。但是什麼是顛覆客戶端軟件包?

我該如何解決這個問題。

回答

0

您是否安裝了subversion和subversion-devel軟件包?

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

再見

2

似乎回答here

你沒有提到Python版本,但可能,如果你有舊的Python版本可以輕鬆解決。我有python 2.6.6,答案適用於我。

安裝說明在INSTALL.html

1

我有同樣的問題。我發現這個解決方案,它正在工作。

下載從

http://dl.fedoraproject.org/pub/epel/6/x86_64/

最新EPEL釋放轉現:

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

安裝EPEL釋放轉:

rpm -Uvh epel-release*rpm

安裝pysvn rpm包:

yum install pysvn

相關問題