RE: Problems with python bindings and ViewCVS
From: Bryan Simmons <bznutz_is_king_at_yahoo.com>
Date: 2004-02-06 02:20:52 CET
In the latest ViewCVS documentation it tells you to
You can:
I did A and it works swimmingly. :) I have heard tell
-----Original Message-----
Hi all,
I'm having a hard time getting the Subversion python
work so I can use ViewCVS. The problems I have are:
1) When I tried to build the bindings with make
an error:
In file included from
/homes/woprf/i/ivey/svnsrc/subversion-0.36.0/subversion/include/svn_md5.
:21:
apr_md5.h: No such file or directory
make: *** [subversion/bindings/swig/python/core.lo]
This appears to be a bug that was supposed to be fixed
which made me go "hmmm". A patch solved that problem.
2) After I get the bindings installed I run Python and
>>> import svn.repos
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
import svn.fs
File "/usr/lib/python2.2/site-packages/svn/fs.py",
import core
File "/usr/lib/python2.2/site-packages/svn/core.py",
from libsvn.core import *
File
import _core
ImportError:
symbol:
svn_delta_noop_window_handler
Any suggestions?
Thanks,
Jack
Specifics are:
OS: Redhat 8
Subversion: 0.36.0
We got and installed all the RPMs from:
http://summersoft.fay.ar.us/pub/subversion/latest/redhat-8.0/bin/
got the Subversion tar file from the web site, ran
$ ./configure --enable_maintainer_mode
$ make
$ make swig-py
# install-swig-py
Which put something looking like Python bindings in
/usr/local/lib/svn-python
This seemed to be out of the Python path, so I moved
/usr/lib/python2.2/site-packages/libsvn and .../svn.
---------------------------------------------------------------------
To unsubscribe, e-mail:
For additional commands, e-mail:
__________________________________
---------------------------------------------------------------------
|
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.