mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 19:50:43 +02:00
doc: recommend --disable-external-signer
in OpenBSD build guide
This commit is contained in:
parent
b7565c708d
commit
e65d1d4986
@ -1,6 +1,6 @@
|
|||||||
OpenBSD build guide
|
OpenBSD build guide
|
||||||
======================
|
======================
|
||||||
(updated for OpenBSD 6.7)
|
(updated for OpenBSD 6.9)
|
||||||
|
|
||||||
This guide describes how to build bitcoind, bitcoin-qt, and command-line utilities on OpenBSD.
|
This guide describes how to build bitcoind, bitcoin-qt, and command-line utilities on OpenBSD.
|
||||||
|
|
||||||
@ -67,9 +67,16 @@ export AUTOMAKE_VERSION=1.16
|
|||||||
```
|
```
|
||||||
Make sure `BDB_PREFIX` is set to the appropriate path from the above steps.
|
Make sure `BDB_PREFIX` is set to the appropriate path from the above steps.
|
||||||
|
|
||||||
|
Note that building with external signer support currently fails on OpenBSD,
|
||||||
|
hence you have to explicitely disable it by passing the parameter
|
||||||
|
`--disable-external-signer` to the configure script.
|
||||||
|
(Background: the feature requires the header-only library boost::process, which
|
||||||
|
is available on OpenBSD 6.9 via Boost 1.72.0, but contains certain system calls
|
||||||
|
and preprocessor defines like `waitid()` and `WEXITED` that are not available.)
|
||||||
|
|
||||||
To configure with wallet:
|
To configure with wallet:
|
||||||
```bash
|
```bash
|
||||||
./configure --with-gui=no CC=cc CXX=c++ \
|
./configure --with-gui=no --disable-external-signer CC=cc CXX=c++ \
|
||||||
BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
|
BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
|
||||||
BDB_CFLAGS="-I${BDB_PREFIX}/include" \
|
BDB_CFLAGS="-I${BDB_PREFIX}/include" \
|
||||||
MAKE=gmake
|
MAKE=gmake
|
||||||
@ -77,12 +84,12 @@ To configure with wallet:
|
|||||||
|
|
||||||
To configure without wallet:
|
To configure without wallet:
|
||||||
```bash
|
```bash
|
||||||
./configure --disable-wallet --with-gui=no CC=cc CC_FOR_BUILD=cc CXX=c++ MAKE=gmake
|
./configure --disable-wallet --with-gui=no --disable-external-signer CC=cc CC_FOR_BUILD=cc CXX=c++ MAKE=gmake
|
||||||
```
|
```
|
||||||
|
|
||||||
To configure with GUI:
|
To configure with GUI:
|
||||||
```bash
|
```bash
|
||||||
./configure --with-gui=yes CC=cc CXX=c++ \
|
./configure --with-gui=yes --disable-external-signer CC=cc CXX=c++ \
|
||||||
BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
|
BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
|
||||||
BDB_CFLAGS="-I${BDB_PREFIX}/include" \
|
BDB_CFLAGS="-I${BDB_PREFIX}/include" \
|
||||||
MAKE=gmake
|
MAKE=gmake
|
||||||
|
Loading…
Reference in New Issue
Block a user