Installing pysvn with MacPorts on Snow Leopard

On several of our Snow Leopard machines the MacPort installation of the pysvn package kept failing.

This command

sudo port install py26-svn +universal

exited with:

checking for Berkeley DB... not foundconfigure: error: Berkeley DB not found.
Error: The following dependencies failed to build: subversion apr-util neon serf
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

For unknown reasons – the other day we were able to successfully install it on a MacBook Pro.

Here are the zipped binaries which have to be unzipped and copied to

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/

or wherever your $PYTHONPATH variable is pointing to.

Hope this helps somebody.

Advertisements
Published in: on March 10, 2010 at 2:57 pm  Leave a Comment