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

swig bindings

From: Scott Lamb <slamb_at_slamb.org>
Date: 2002-07-23 02:29:01 CEST

I'm trying to get the swig python bindings to work, so I can run
cvs2svn.py. I'm running a RedHat 7.2 system, so I've got:

     python 1.5.2 (stock, /usr/bin/python / /usr/lib/python1.5)
     python 2.1.1 (stock, /usr/bin/python2 / /usr/lib/python2.1)
     swig 1.3.13 (my rpm, configured --with-python=/usr/bin/python2)

Subversion installs a library to /usr/local/lib/libsvn_swig_py-1.so, but
that's it. I don't see anything installed to /usr/lib/python2.1. I
assume the stuff in subversion/bindings/swig/python/svn should end up
there somewhere?

When I try to run cvs2svn.py:

     $ cd tools/cvs2svn
     $ PYTHONPATH=~/viewcvs-0.9.2/lib; export PYTHONPATH
     $ ./cvs2svn.py
     Traceback (innermost last):
       File "./cvs2svn.py", line 17, in ?
         from svn import fs, util, _delta, _repos
     ImportError: No module named svn
     $ PYTHONPATH=$PYTHONPATH:../../subversion/bindings/swig/python
     $ export PYTHONPATH
     $ ./cvs2svn.py
     Traceback (innermost last):
       File "./cvs2svn.py", line 17, in ?
         from svn import fs, util, _delta, _repos
       File "/blah/svn/fs.py", line 19, in ?
         import _fs
     ImportError: No module named _fs

I'm afraid I'm not too familiar with Python and swig.

For that matter, am I using the right rcsparse? The one from viewcvs?

Thanks,
Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 23 02:29:40 2002

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.