aboutsummaryrefslogtreecommitdiff
path: root/doc/build-freebsd.md
diff options
context:
space:
mode:
authorMurray Nesbitt <github@nesbitt.ca>2018-10-31 02:52:50 -0700
committerMurray Nesbitt <github@nesbitt.ca>2018-10-31 02:52:50 -0700
commit0a04667613b84a57b9e576a2055cc2f2cccdd7e7 (patch)
tree05ced0ec7723fd8f77b1590dd48c99bb67b93bfd /doc/build-freebsd.md
parent29f429dc7d4c7e6cd012e749cadf89e3138bcab3 (diff)
downloadbitcoin-0a04667613b84a57b9e576a2055cc2f2cccdd7e7.tar.xz
FreeBSD: Document Python 3 requirement for 'gmake check'
Diffstat (limited to 'doc/build-freebsd.md')
-rw-r--r--doc/build-freebsd.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/build-freebsd.md b/doc/build-freebsd.md
index 7ec62ea779..70f5dfc882 100644
--- a/doc/build-freebsd.md
+++ b/doc/build-freebsd.md
@@ -14,6 +14,12 @@ You will need the following dependencies, which can be installed as root via pkg
pkg install autoconf automake boost-libs git gmake libevent libtool openssl pkgconf
```
+In order to run the test suite (recommended), you will need to have Python 3 installed:
+
+```
+pkg install python3
+```
+
For the wallet (optional):
```
./contrib/install_db4.sh `pwd`
@@ -36,10 +42,22 @@ git clone https://github.com/bitcoin/bitcoin
./configure # to build with wallet OR
./configure --disable-wallet # to build without wallet
+```
+
+followed by either:
+```
gmake
```
+to build without testing, or
+
+```
+gmake check
+```
+
+to also run the test suite (recommended, if Python 3 is installed).
+
*Note on debugging*: The version of `gdb` installed by default is [ancient and considered harmful](https://wiki.freebsd.org/GdbRetirement).
It is not suitable for debugging a multi-threaded C++ program, not even for getting backtraces. Please install the package `gdb` and
use the versioned gdb command (e.g. `gdb7111`).