File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
OpenBSD build guide
2
2
======================
3
- (updated for OpenBSD 5.9 )
3
+ (updated for OpenBSD 6.0 )
4
4
5
5
This guide describes how to build bitcoind and command-line utilities on OpenBSD.
6
6
@@ -124,7 +124,7 @@ To configure with wallet:
124
124
``` bash
125
125
./configure --with-gui=no --with-boost=$BOOST_PREFIX \
126
126
CC=egcc CXX=eg++ CPP=ecpp \
127
- LDFLAGS =" -L${BDB_PREFIX} /lib/ " CPPFLAGS =" -I${BDB_PREFIX} /include/ "
127
+ BDB_LIBS =" -L${BDB_PREFIX} /lib -ldb_cxx-4.8 " BDB_CFLAGS =" -I${BDB_PREFIX} /include"
128
128
```
129
129
130
130
To configure without wallet:
@@ -142,6 +142,8 @@ gmake check
142
142
Clang (not currently working)
143
143
------------------------------
144
144
145
+ WARNING: This is outdated, needs to be updated for OpenBSD 6.0 and re-tried.
146
+
145
147
Using a newer g++ results in linking the new code to a new libstdc++.
146
148
Libraries built with the old g++, will still import the old library.
147
149
This gives conflicts, necessitating rebuild of all C++ dependencies of the application.
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ For further documentation on the depends system see [README.md](../depends/READM
315
315
Building on FreeBSD
316
316
--------------------
317
317
318
- (Updated as of FreeBSD 10.3 )
318
+ (Updated as of FreeBSD 11.0 )
319
319
320
320
Clang is installed by default as ` cc ` compiler, this makes it easier to get
321
321
started than on [ OpenBSD] ( build-openbsd.md ) . Installing dependencies:
@@ -337,7 +337,7 @@ with 4.8-built Bitcoin Core is needed follow the steps under "Berkeley DB" above
337
337
Then build using:
338
338
339
339
./autogen.sh
340
- ./configure --with-incompatible-bdb CPPFLAGS= -I/usr/local/include/db5 LDFLAGS= -L/usr/local/lib/db5
340
+ ./configure --with-incompatible-bdb BDB_CFLAGS=" -I/usr/local/include/db5" BDB_LIBS=" -L/usr/local/lib -ldb_cxx-5"
341
341
make
342
342
343
343
* Note on debugging* : The version of ` gdb ` installed by default is [ ancient and considered harmful] ( https://wiki.freebsd.org/GdbRetirement ) .
You can’t perform that action at this time.
0 commit comments