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

Need help installing Python bindings

From: David Coppit <david_at_coppit.org>
Date: 2004-06-22 18:10:35 CEST

Hi all,

The sysadmins here at W&M CS do not have the Python bindings installed for
Subversion, so I'm installing them (along with the subversion libraries)
into my own private directory.

Everything seems to build and install correctly, but the python bindings
test is failing. Here's a summary of what I did:

$ cd ../SWIG-1.3.19
$ ./configure --prefix=/home/f85/coppit
$ make
$ make install

$ ./configure --with-swig=/home/f85/coppit --prefix=/home/f85/coppit --enable-maintainer-mode --enable-swig-bindings=python,perl
$ make
$ make install
$ export LD_LIBRARY_PATH=/home/f85/coppit/lib

$ make swig-pl-lib
$ make swig-py
$ make install-swig-py
$ export PYTHONPATH=/home/f85/coppit/lib/svn-python
$ export LD_LIBRARY_PATH=/home/f85/coppit/lib/svn-python/libsvn:/home/f85/coppit/lib

Here's the problem:

$ python -c "from svn import client"
Traceback (most recent call last):
   File "<string>", line 1, in ?
   File "/home/f85/coppit/lib/svn-python/svn/client.py", line 17, in ?
     from libsvn.client import *
   File "/home/f85/coppit/lib/svn-python/libsvn/client.py", line 4, in ?
     import _client
ImportError: /home/f85/coppit/lib/svn-python/libsvn/_client.so: undefined symbol: svn_wc_add

This works okay:

$ perl -MSVN::Client -e 'print "okay\n"'

but I haven't tested the Perl installation beyond loading the module.

Can anyone help? All I want to do is get ViewCVS working. :/

Thanks,
David

_____________________________________________________________________
David Coppit david@coppit.org
The College of William and Mary http://coppit.org/

"Use 'logout' to leave this shell" -- You know what I want. Just do it!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 22 18:12:09 2004

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.