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

Python libsvn bindings not building properly

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2003-05-28 22:26:34 CEST

I've been trying to get the SWIG Python bindings to build again on my
Subversion server. Everything worked fine before the move to
'libsvn', but now the bindings don't build as I expect.

Here's the message I get:

>>> import svn.fs
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/encap/subversion/lib/svn-python/svn/fs.py", line 25, in ?
    import libsvn.fs
ImportError: No module named fs

And indeed, there is no libsvn.fs. The contents of libsvn are:

libsvn/__init__.py
libsvn/__init__.pyc
libsvn/_client.a
libsvn/_client.la
libsvn/_client.so
libsvn/_core.a
libsvn/_core.la
libsvn/_core.so
libsvn/_delta.a
libsvn/_delta.la
libsvn/_delta.so
libsvn/_fs.a
libsvn/_fs.la
libsvn/_fs.so
libsvn/_ra.a
libsvn/_ra.la
libsvn/_ra.so
libsvn/_repos.a
libsvn/_repos.la
libsvn/_repos.so
libsvn/_wc.a
libsvn/_wc.la
libsvn/_wc.so

Just renaming libsvn/_fs.so to libsvn/fs.so does not help; I get:

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/encap/subversion/lib/svn-python/svn/fs.py", line 25, in ?
    import libsvn.fs
ImportError: Loaded module does not contain symbol _initfs

Any ideas? I really miss ViewCVS...

-- 
=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 28 22:27:42 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.