[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Problem with the Python bindings

From: Arthur van Dam <adam_at_cs.uu.nl>
Date: 2003-04-11 14:20:35 CEST

I have the same problem as Perttu.
I use:
neon 0.23.5
swig 1.3.16u-20021214-2145
httpd-2.0.45 (with apr)
subversion 0.20.1 (r5603)

And configured with

---
./configure --enable-maintainer-mode
--with-apr=/usr/local/apache2/bin/apr-config
--with-apr-util=/usr/local/apache2 --with-neon=/usr
--with-apxs=/usr/local/apache2/bin/apxs --with-berkeley-db=/usr
--with-swig=/usr --with-ssl --with-jdk=/usr/java/j2sdk1.4.1_02
---
Compilation of this latest checkout of subversion goes fine (no errors,
no warnings), even `make check` goes fine.
But the swig/python svn/_util.so has problems:
---
>>> from svn import fs
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/svn-python/svn/fs.py", line 25, in ?
    import _util
ImportError: /usr/lib/python2.2/site-packages/svn/_util.so: undefined
symbol: svn_delta_default_editor
---
Other modules that don't include _util.so work fine:
---
>>> from svn import repos
>>>
---
I wondered whether the error above had anything to do with he
--width-editor option, but that didn't cause the error.
Does anyone have an idea? I really need the python-modules...
Arthur
--
eye@eye-home.net
http://www.eye-home.net
'12:50, press Return'
(Pi)
-----Original Message-----
From: Perttu Ranta-aho [mailto:Perttu.Ranta-aho@uku.fi] 
Sent: maandag 24 maart 2003 13:18
To: dev@subversion.tigris.org
Subject: Problem with the Python bindings
I tried to install ViewCVS, so I compiled and installed subversion
python 
bindings. No problems on compilation but: 
$ python2 -c 'from svn import fs'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.2/site-packages/svn/fs.py", line 25, in ?
    import _util
ImportError: /usr/lib/python2.2/site-packages/svn/_util.so: undefined 
symbol: svn_delta_default_editor
What went wrong? I had everything working some time ago, maybe with svn 
0.17 or 0.15. 
Now I had: svn 0.20, swig 1.3.17 and python 2.2.2
Sorry if the question is silly, but my python knowledge is very poor.
-Perttu
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 14:21:40 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.