build: Add script to fetch and build BDB 4.8 in-tree? #3971

issue laanwj opened this issue on March 28, 2014
  1. laanwj commented at 11:00 AM on March 28, 2014: member

    Lots of people get stumped by the BDB 4.8 dependency. It is starting to be really hard to get in modern distros. Even if we were to go to some magic append-only wallet format we'll have to support it for foreseeable time for backwards compatibility.

    I think a script that fetches BDB 4.8, configures and builds it statically would be useful. Then change the bitcoin autoconf to automatically pick it up (and set include/library path accordingly) if it was fetched this way.

    Note: I am not proposing to add BDB to the git repository like we did with leveldb. Just to make building against the "holy version" easier.

  2. laanwj added the label Improvement on Mar 28, 2014
  3. laanwj added the label Build system on Mar 28, 2014
  4. laanwj renamed this:
    build: Add way to fetch and build BDB 4.8 in-tree?
    build: Add script to fetch and build BDB 4.8 in-tree?
    on Mar 28, 2014
  5. laanwj added the label Wallet on Mar 28, 2014
  6. Belkaar commented at 9:55 PM on March 28, 2014: none

    Why not include the source and directly build it into the binary? db 4.8 needs to stay in for the foreseeable future anyways to import old wallets.

  7. laanwj commented at 2:05 AM on March 29, 2014: member

    There is already too much 'alien' code in here (leveldb, spirit-json), I want to reduce the amount of code in 'core' not increase it.

    BDB is only used for the wallet and the wallet is planned to be split off to a seperate repository (see #3882). After that, at some point, including the BDB code may be acceptable. But I also doubt it (also depends on license issues and such).

    This is an intermediate solution, which would be acceptable to even the most conservative devs and could be easy to implement and it is effectively the same as including it if done right.

  8. laanwj closed this on Apr 7, 2014

  9. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me