Install cvs2svn on Mac OS X 10.4 Tiger

March 4th, 2006

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:

Categories: hacking, macosx, unix

Tags: , , , , ,

3 Comments Add your own

  • 1. Dave T  |  April 27th, 2006 at 23:25

    Thanks for the info. Worked like a charm.

  • 2. J. Esteves  |  September 22nd, 2007 at 19:15

    A year later it’s still working like a charm. Thank you.

  • 3. Jeff  |  November 19th, 2007 at 07:11

    Man. This totally saved my butt. I had over 2 years of historic data (revisions to a bunch of writing) that I wanted to preserve.

    This did the trick!

Leave a Comment

hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Feeds

Categories

Archives

Most Recent Posts