Changes

Jump to: navigation, search

Install latest BSDDB

79 bytes added, 14:32, 23 January 2011
m
Python BSDDB interface
Download the version compatible with the downloaded bsddb version, eg [http://pypi.python.org/pypi/bsddb3/5.1.1 bsddb3 5.1.1] is tested with 4.2 and 5.1. Unpack and go in the created directory. Run <code>python setup.py</code>, this should find your installed bsddb3 returning something like:
Found BerkeleyDB 4Berkeley DB 5.5 1 installation. include files in /usr/local/BerkeleyDB.45.51/include library files in /usr/local/BerkeleyDB.45.51/lib library name is libdb-45.51
Now run <code>python setup.py build</code> to make the package, and lastly install it with <pre>sudo python setup.py install</pre> which installs bsddb3.
Note: you need libpython2.5x-devel to buildthis, with x your version of python.You can As a test with , run  python test >>> import bsddb3 >>> bsddb3.__version__ '5.1.1' >>> bsddb3.db.pyversion() (5, 1, but that does not work on my AMD6419)
=== Remove old BSDDB and replace with new in GRAMPS===

Navigation menu