Skip to content

Commit e65d1d4

Browse files
committed
doc: recommend --disable-external-signer in OpenBSD build guide
1 parent b7565c7 commit e65d1d4

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

doc/build-openbsd.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OpenBSD build guide
22
======================
3-
(updated for OpenBSD 6.7)
3+
(updated for OpenBSD 6.9)
44

55
This guide describes how to build bitcoind, bitcoin-qt, and command-line utilities on OpenBSD.
66

@@ -67,22 +67,29 @@ export AUTOMAKE_VERSION=1.16
6767
```
6868
Make sure `BDB_PREFIX` is set to the appropriate path from the above steps.
6969

70+
Note that building with external signer support currently fails on OpenBSD,
71+
hence you have to explicitely disable it by passing the parameter
72+
`--disable-external-signer` to the configure script.
73+
(Background: the feature requires the header-only library boost::process, which
74+
is available on OpenBSD 6.9 via Boost 1.72.0, but contains certain system calls
75+
and preprocessor defines like `waitid()` and `WEXITED` that are not available.)
76+
7077
To configure with wallet:
7178
```bash
72-
./configure --with-gui=no CC=cc CXX=c++ \
79+
./configure --with-gui=no --disable-external-signer CC=cc CXX=c++ \
7380
BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
7481
BDB_CFLAGS="-I${BDB_PREFIX}/include" \
7582
MAKE=gmake
7683
```
7784

7885
To configure without wallet:
7986
```bash
80-
./configure --disable-wallet --with-gui=no CC=cc CC_FOR_BUILD=cc CXX=c++ MAKE=gmake
87+
./configure --disable-wallet --with-gui=no --disable-external-signer CC=cc CC_FOR_BUILD=cc CXX=c++ MAKE=gmake
8188
```
8289

8390
To configure with GUI:
8491
```bash
85-
./configure --with-gui=yes CC=cc CXX=c++ \
92+
./configure --with-gui=yes --disable-external-signer CC=cc CXX=c++ \
8693
BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
8794
BDB_CFLAGS="-I${BDB_PREFIX}/include" \
8895
MAKE=gmake

0 commit comments

Comments
 (0)