Merge #14617: FreeBSD: Document Python 3 requirement for 'gmake check'

0a04667613 FreeBSD: Document Python 3 requirement for 'gmake check' (Murray Nesbitt)

Pull request description:

  `doc/build-freebsd.md` doesn't mention that Python 3 is required to run the test suite. Currently, `gmake check` fails without it.

Tree-SHA512: 19117671bf528d335146d821e5cd4108f2f6ae014fb9a6d0030a322b23d1bc5f677e46896b575a7ca78b137315b60e63ad8b03ad695fe0aae3e9f50b060a3561
This commit is contained in:
Wladimir J. van der Laan 2018-11-01 16:04:47 +01:00
commit 9899e65d84
No known key found for this signature in database
GPG key ID: 1E4AED62986CD25D

View file

@ -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 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): For the wallet (optional):
``` ```
./contrib/install_db4.sh `pwd` ./contrib/install_db4.sh `pwd`
@ -36,10 +42,22 @@ git clone https://github.com/bitcoin/bitcoin
./configure # to build with wallet OR ./configure # to build with wallet OR
./configure --disable-wallet # to build without wallet ./configure --disable-wallet # to build without wallet
```
followed by either:
```
gmake 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). *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 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`). use the versioned gdb command (e.g. `gdb7111`).