|
1 | 1 | OpenBSD build guide
|
2 | 2 | ======================
|
3 |
| -(updated for OpenBSD 6.7) |
| 3 | +(updated for OpenBSD 6.9) |
4 | 4 |
|
5 | 5 | This guide describes how to build bitcoind, bitcoin-qt, and command-line utilities on OpenBSD.
|
6 | 6 |
|
@@ -67,22 +67,29 @@ export AUTOMAKE_VERSION=1.16
|
67 | 67 | ```
|
68 | 68 | Make sure `BDB_PREFIX` is set to the appropriate path from the above steps.
|
69 | 69 |
|
| 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 | + |
70 | 77 | To configure with wallet:
|
71 | 78 | ```bash
|
72 |
| -./configure --with-gui=no CC=cc CXX=c++ \ |
| 79 | +./configure --with-gui=no --disable-external-signer CC=cc CXX=c++ \ |
73 | 80 | BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
|
74 | 81 | BDB_CFLAGS="-I${BDB_PREFIX}/include" \
|
75 | 82 | MAKE=gmake
|
76 | 83 | ```
|
77 | 84 |
|
78 | 85 | To configure without wallet:
|
79 | 86 | ```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 |
81 | 88 | ```
|
82 | 89 |
|
83 | 90 | To configure with GUI:
|
84 | 91 | ```bash
|
85 |
| -./configure --with-gui=yes CC=cc CXX=c++ \ |
| 92 | +./configure --with-gui=yes --disable-external-signer CC=cc CXX=c++ \ |
86 | 93 | BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" \
|
87 | 94 | BDB_CFLAGS="-I${BDB_PREFIX}/include" \
|
88 | 95 | MAKE=gmake
|
|
0 commit comments