File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ OpenBSD build guide
2
2
======================
3
3
(updated for OpenBSD 6.7)
4
4
5
- This guide describes how to build bitcoind and command-line utilities on OpenBSD.
6
-
7
- OpenBSD is most commonly used as a server OS, so this guide does not contain instructions for building the GUI.
5
+ This guide describes how to build bitcoind, bitcoin-qt, and command-line utilities on OpenBSD.
8
6
9
7
Preparation
10
8
-------------
@@ -13,6 +11,7 @@ Run the following as root to install the base dependencies for building:
13
11
14
12
``` bash
15
13
pkg_add git gmake libevent libtool boost
14
+ pkg_add qt5 # (optional for enabling the GUI)
16
15
pkg_add autoconf # (select highest version, e.g. 2.69)
17
16
pkg_add automake # (select highest version, e.g. 1.16)
18
17
pkg_add python # (select highest version, e.g. 3.8)
@@ -80,6 +79,14 @@ To configure without wallet:
80
79
./configure --disable-wallet --with-gui=no CC=cc CC_FOR_BUILD=cc CXX=c++ MAKE=gmake
81
80
```
82
81
82
+ To configure with GUI:
83
+ ``` bash
84
+ ./configure --with-gui=yes CC=cc CXX=c++ \
85
+ BDB_LIBS=" -L${BDB_PREFIX} /lib -ldb_cxx-4.8" \
86
+ BDB_CFLAGS=" -I${BDB_PREFIX} /include" \
87
+ MAKE=gmake
88
+ ```
89
+
83
90
Build and run the tests:
84
91
``` bash
85
92
gmake # use -jX here for parallelism
You can’t perform that action at this time.
0 commit comments