subversion-python rpm doesn't install Python bindings?
From: Colvin, Joshua <jcolvin_at_sfwmd.gov>
Date: 2007-03-14 18:46:31 CET
Hello all,
SVN is working great after installing the below on RHEL 4:
subversion-tools-1.4.2-1
subversion-1.4.2-1
subversion-perl-1.4.2-1
subversion-python-1.4.2-1
When using ViewVC, however, I get Python errors that indicate I have
Traceback (most recent call last):
File "/opt/web/viewvc-1.0.3/lib/viewvc.py", line 3629, in main
request.run_viewvc()
File "/opt/web/viewvc-1.0.3/lib/viewvc.py", line 253, in run_viewvc
import vclib.svn
File "/opt/web/viewvc-1.0.3/lib/vclib/svn/__init__.py", line 25, in ?
from svn import fs, repos, core, delta
File "/usr/lib/svn-python/svn/fs.py", line 19, in ?
File "/usr/lib/svn-python/libsvn/fs.py", line 5, in ?
ImportError: /usr/lib/python2.3/site-packages/libsvn/_fs.so: cannot open
subversion-python did install its files where it says it would:
/usr/lib/python2.3/site-packages/libsvn (all the files are there), and
looking there:
>>> import sys
>>> sys.path
['', '/usr/lib64/python23.zip', '/usr/lib64/python2.3',
>>>
I don't know why the above callback shows /usr/lib/svn-python, however I
/usr/lib/svn-python with symlinks therein to svn and libsvn, and when I
Traceback (most recent call last):
File "/opt/web/viewvc-1.0.3/lib/viewvc.py", line 3629, in main
request.run_viewvc()
File "/opt/web/viewvc-1.0.3/lib/viewvc.py", line 253, in run_viewvc
import vclib.svn
File "/opt/web/viewvc-1.0.3/lib/vclib/svn/__init__.py", line 25, in ?
from svn import fs, repos, core, delta
File "/usr/lib/svn-python/svn/fs.py", line 19, in ?
from libsvn.fs import *
File "/usr/lib/svn-python/libsvn/fs.py", line 5, in ?
import _fs
ImportError: /usr/lib/python2.3/site-packages/libsvn/_fs.so: cannot open
and using "python" I get:
>>> import svn.repos
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/svn-python/svn/repos.py", line 19, in ?
from libsvn.repos import *
File "/usr/lib/svn-python/libsvn/repos.py", line 5, in ?
import _repos
ImportError: /usr/lib/python2.3/site-packages/libsvn/_repos.so: cannot
>>> quit
'Use Ctrl-D (i.e. EOF) to exit.'
>>>
[root@pcluster1 svn]# ls -l
-rwxr-xr-x 1 root root 150500 Nov 5 17:36
[root@pcluster1 svn]#
Must I compile from source? If so, what good is subversion-python?
Thanks in advance,
Josh
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.