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

Re: ViewCVS Python Bindings

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-04-13 03:40:23 CEST

On Mon, 2005-11-04 at 23:21 +0100, Max Bowsher wrote:
> Could this be an old version? You could try deleting it, and reinstalling
> the Python bindings.

Alright, so here is how I went about trying to do just that. Stick with
me because the problem still persists, this is a bit of information
overload.

I went to my library directory. Luckily it is not very busy in there
since I don't build that many things from scratch.

[root@jackd lib]# pwd
/usr/local/lib
[root@jackd lib]# rm -rf *svn*
[root@jackd lib]# rm -f *neon*

I `rm -rf`'d my extracted tarball to get a fresh source directory. I
just checked the MD5 sums and they match, so it's not a bad tarball.

[root@jackd sandbox]# ./configure \
--with-ssl \
--with-berkeley-db=/usr/local/BerkeleyDB.4.2 \
--with-swig=/usr/local/bin/swig &> ~/svn-configure-Apr12.out

The interesting parts are here...

[root@jackd sandbox]# grep "ython\|swig" ~/svn-configure-Apr12.out
checking for python2... /usr/bin/python2
checking for Python 2.0 or newer
configure: Enabled swig binding: perl
configure: Enabled swig binding: python
configure: Enabled swig binding: java
checking swig version... 1.3.24
checking for swig library directory... /usr/local/share/swig/1.3.24
configure: Configuring python swig binding
checking if swig needs -L for its libraries... -L/usr/local/share/swig
checking for Python includes... -I/usr/include/python2.2
checking for compiling Python extensions... gcc -DNDEBUG -O2 -g -pipe -
march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC
checking for linking Python extensions... gcc -shared
checking for linking Python libraries...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ is this ok if blank?

config.status: creating subversion/bindings/swig/perl/native/Makefile.PL
mkdir subversion/bindings/swig/java/build

So I did a `make && make install` then a `make swig-py && make install-
swig-py`

Same damn error when I try to `import svn.repos` in the python
interpreter.

ImportError: /usr/lib/python2.2/site-packages/libsvn/_repos.so:
undefined symbol: svn_swig_py_thunk_log_receiver

But strings shows the symbol exists in the file somewhere.

[root@jackd subversion-1.1.4]# strings /usr/lib/python2.2/site-
packages/libsvn/_repos.so | grep thunk
svn_swig_py_thunk_log_receiver

I've attached the gzip'd text capture of swig-python make && make
install, maybe someone will be able to pick something out of it.

One last thing, I had some libraries in /usr/lib from an _OLD_ binary
client 0.32.1-5 (remember FC1), that shouldn't be effecting my build
should it? Anyway, I removed the RPM with -e.

Cheers,
Chris

-- 
Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
21:10:41 up 1 day, 42 min, 5 users, load average: 0.08, 0.06, 0.07 
http://www.gnu.org/philosophy/no-word-attachments.html

Received on Wed Apr 13 03:42:02 2005

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.