Install cvs2svn on Mac OS X 10.4 Tiger

The current version of cvs2svn fails on Tiger with the error message

ERROR: your installation of Python does not contain a suitable
DBM module -- cvs2svn cannot continue.
See http://python.org/doc/current/lib/module-anydbm.html to solve.

That’s because there’s no suitable db module in Apple’s python install. However, there is an easy solution that works with the python 2.3 supplied by Apple:

  • install Berkeley db42 via fink (or however you like)

  • download bsddb3 from http://pybsddb.sourceforge.net

  • unpack and perform inside the unpacked directory

    python setup.py build
    sudo python setup.py install
    

This should do the job.

See also:

Tags: , , , , ,

Categories: macosx, unix, hacking

4 comments March 4th, 2006


Feeds

Categories

Archives