mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-16 20:12:56 +02:00
doc: add with_bdb to unix build docs
This commit is contained in:
@ -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
|
This enables support for both wallet types, assuming
|
||||||
`sqlite3` and `db4` are both installed.
|
`sqlite3` and `db4` are both installed.
|
||||||
```bash
|
```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
|
##### No Wallet or GUI
|
||||||
|
@ -112,7 +112,7 @@ Run `cmake -B build -LH` to see the full list of available options.
|
|||||||
This enables support for both wallet types:
|
This enables support for both wallet types:
|
||||||
|
|
||||||
```bash
|
```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
|
### 2. Compile
|
||||||
|
@ -162,7 +162,7 @@ and configure using the following:
|
|||||||
```bash
|
```bash
|
||||||
export BDB_PREFIX="/path/to/bitcoin/depends/x86_64-pc-linux-gnu"
|
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.
|
**Note**: Make sure that `BDB_PREFIX` is an absolute path.
|
||||||
|
Reference in New Issue
Block a user