From bc532c915ec6ec8ca28e0b2dd00e232f0dd8f259 Mon Sep 17 00:00:00 2001 From: tdb3 <106488469+tdb3@users.noreply.github.com> Date: Sat, 31 Aug 2024 16:53:59 -0400 Subject: [PATCH 1/2] doc: add with_bdb to unix build docs --- doc/build-freebsd.md | 2 +- doc/build-openbsd.md | 2 +- doc/build-unix.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/build-freebsd.md b/doc/build-freebsd.md index fba5a17e9aa..6a25e9a8349 100644 --- a/doc/build-freebsd.md +++ b/doc/build-freebsd.md @@ -118,7 +118,7 @@ Run `cmake -B build -LH` to see the full list of available options. This enables support for both wallet types, assuming `sqlite3` and `db4` are both installed. ```bash -cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" +cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON ``` ##### No Wallet or GUI diff --git a/doc/build-openbsd.md b/doc/build-openbsd.md index 32129aadf3c..e10036a96b2 100644 --- a/doc/build-openbsd.md +++ b/doc/build-openbsd.md @@ -112,7 +112,7 @@ Run `cmake -B build -LH` to see the full list of available options. This enables support for both wallet types: ```bash -cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" +cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON ``` ### 2. Compile diff --git a/doc/build-unix.md b/doc/build-unix.md index 61a66e1c1ed..fcc066c87d0 100644 --- a/doc/build-unix.md +++ b/doc/build-unix.md @@ -162,7 +162,7 @@ and configure using the following: ```bash export BDB_PREFIX="/path/to/bitcoin/depends/x86_64-pc-linux-gnu" -cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" +cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="${BDB_PREFIX}/include" -DWITH_BDB=ON ``` **Note**: Make sure that `BDB_PREFIX` is an absolute path. From ddef914bbb1e4fe87e8a85f17e4e839639fd97da Mon Sep 17 00:00:00 2001 From: tdb3 <106488469+tdb3@users.noreply.github.com> Date: Sat, 31 Aug 2024 17:50:08 -0400 Subject: [PATCH 2/2] doc: remove extraneous install statement --- doc/build-openbsd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build-openbsd.md b/doc/build-openbsd.md index e10036a96b2..fafc91fc5f1 100644 --- a/doc/build-openbsd.md +++ b/doc/build-openbsd.md @@ -90,7 +90,7 @@ There is an included test suite that is useful for testing code changes when dev To run the test suite (recommended), you will need to have Python 3 installed: ```bash -pkg_add install python # Select the newest version of the package. +pkg_add python # Select the newest version of the package. ``` ## Building Bitcoin Core