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

SWIG Python bindings (more OpenBSD badness)

From: Mark G <mark_at_nolab.conman.org>
Date: 2003-03-30 04:31:42 CEST

Hello again everybody!

I am trying to get the cvs2svn tool to work on OpenBSD 3.2. I've never
programmed in Python before (so I may need some batting with a clue
stick). It seems that the line:

  from svn import fs, util, delta, repos

Is failing with the following exception:

  Traceback (most recent call last):
    File "./cvs2svn.py", line 18, in ?
      from svn import fs, util, delta, repos
  ImportError: No module named svn

When I compiled Subversion I did a:

  make swig-py

(I did it after I did make install -- not sure which is the correct order)

I compiled SWIG v1.3.16 and placed it in parallel with my other subversion
files (/disk/0/subversion/run). There were no errors during compilation
and I see the binding files:

In /disk/0/subversion/run/lib:
-rw-r--r-- 1 svn devel 70036 Mar 29 20:13 libsvn_swig_py-1.a
-rwxr-xr-x 1 svn devel 1025 Mar 29 20:13 libsvn_swig_py-1.la
-rwxr-xr-x 1 svn devel 76763 Mar 29 20:13 libsvn_swig_py-1.so.0.0

Is there an environment variable that I have to set to tell Python where
it can gobble up those files?

TIA,
Mark G.
 - I'm so close to ditching CVS now! Only a few more steps!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 30 04:32:23 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.