Jump to: navigation, search

Install latest BSDDB

286 bytes added, 04:25, 23 December 2020
no edit summary
Some people have encountered bugs in GRAMPS Gramps which are due to the database not working well.
Installing the latest version of the [[Gramps_Glossary#bsddb|BSDDB ]] database tends to solve the problem.
'''This guide is for version {{stable_branchversion}} of Gramps, for earlier versions, you need to manually change python files!'''
== Why install the latest version ? ==Some errors have happened in the past outside of GRAMPSGramps version 2.2.x, with the [[Database_Backends#BSDDB_Backend|BSDDB database ]] format GRAMPS usesGramps used. See Bugs: {{bug|110}} and {{bug|814}}
It can be expected that recompiling BSDDB could solve the problemthose problems. However, if BSDDB needs to be recompiled, one can might as well install the latest version.
Furthermore, the people of pybsddb PyBSDDB (the Python "bindings" project for the Oracle Berkeley DB) recommend doing a local compile if the use of BSDDB is critical.
For genealogists needing GRAMPS this Gramps, a stable database could certainly be considered truea critical need.
== Before you begin: BACKUP ==
Take a backup of your genealogical data before you do this. Remember, you should backup data of GRAMPS Gramps in .gramps format, and keep that somewhere save (GRDB format is NOT a good backup format!).
== Obtaining latest BSDDB version ==
=== BSDDB core from Sleepycat (Oracle) ===
Go to and download latest libdb code without encryption (eg Berkeley DB 56.1.1923.NC.tar.gz ), unpack. You need to create an Oracle ID for this, but it is OSS software. Read in the downloaded code the file docs/index.html on how to configure and make the code. For Linux:
cd build_unix
== See also ==
*[[Database Formats]] - Gramps
*[[Database Backends]] - user selectable beginning with the Gramps 5 version
== External Link ==
Information on BSDDB (Python "bindings" for Oracle Berkeley DB)
*[ bsddb — Interface to Berkeley DB library — Python v2.6.1 documentation]
*[ Berkeley DB Reference Guide: An introduction to data management]
*[[Database Formats]] - GRAMPS

Navigation menu