[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: Max Bowsher <maxb_at_ukf.net>
Date: 2005-04-11 11:50:05 CEST

Christopher Ness wrote:
> 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

This is NOT success the second time, it's just Python noticing that it
already tried, and turning the second "import svn.repos" into a no-op.

> 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.

It sounds like libsvn_swig_py is missing/not-found.

The versions you quote should be fine, though, if you can work out why your
build is broken.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 11:58:13 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.