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

ViewCVS Python Bindings

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-04-11 06:12:40 CEST

Hi all,

I've been having problems building the python bindings. Or at least I
think I'm having problems since ViewCVS doesn't work for me throwing
errors.

Reading the INSTALL files for both SVN and ViewCVS has gotten me to
here. My PYTHONPATH is set, but I can't import `svn.repos` until I
import `svn`. I have no idea why.

[root@jackd opt]# python
Python 2.2.3 (#1, Oct 15 2003, 23:33:35)
[GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python2.2', '/usr/lib/python2.2/plat-linux2',
'/usr/lib/python2.2/lib-dynload', '/usr/lib/python2.2/site-packages',
'/usr/lib/python2.2/site-packages/gtk-2.0', '/usr/local/lib/svn-python']
>>> import svn.repos
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/src/build/403267-i386/install/usr/lib/python2.2/site-
packages/svn/repos.py", line 17, in ?
  File "/usr/src/build/403267-i386/install/usr/lib/python2.2/site-
packages/libsvn/repos.py", line 4, in ?
ImportError: /usr/lib/python2.2/site-packages/libsvn/_repos.so:
undefined symbol: svn_swig_py_thunk_log_receiver
>>> import svn
>>> import svn.repos
>>>

I am building SVN 1.1.4 from the release tarball
SWIG Version 1.3.24
Python version is old [see above] (from an FC1 RPM).

I'd really like to build from source instead of using a package.

Thanks,
Chris

-- 
Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
00:07:29 up 2 days, 12:11, 4 users, load average: 1.14, 0.50, 0.26 
http://www.gnu.org/philosophy/no-word-attachments.html

Received on Mon Apr 11 06:15:03 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.