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

Re: Building with python bindings on Mac OS X?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-13 23:44:04 CEST

Jim Correia wrote:
> I'm trying to build subversion 1.1rc2 on Mac OS X with the python
> bindings (so I can use mailer.py, among other reasons).
>
> I've got Python 2.3.4, built from source, in /usr/local/...
>
> I've got swig 1.3.22 in /usr/local/...
>
> I've configured subversion (using the 1.1rc2 tarball) like so:
>
> ./configure --without-berkeley-db --with-swig
> --enable-swig-bindings=python
>
> When I build and install, I don't get an svn python module.
>
> $ python
> Python 2.3.4 (#1, Sep 13 2004, 15:59:36)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1640)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import svn.fs
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: No module named svn.fs
>
>
> What have I done wrong?

You've not noticed that the bindings get installed into
/usr/local/lib/svn-python

echo "/usr/local/lib/svn-python" >
/usr/local/lib/python2.3/site-packages/subversion.pth

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 13 23:44:58 2004

This is an archived mail posted to the Subversion Users mailing list.