Minor fix in build documentation for FreeBSD 11

- Package name is libevent, not libevent2
- Need to use GNU make
This commit is contained in:
Shigeya Suzuki 2017-04-21 07:36:32 +09:00
parent 86ea3c2ff2
commit 0611bc3439

View file

@ -321,8 +321,10 @@ Clang is installed by default as `cc` compiler, this makes it easier to get
started than on [OpenBSD](build-openbsd.md). Installing dependencies: started than on [OpenBSD](build-openbsd.md). Installing dependencies:
pkg install autoconf automake libtool pkgconf pkg install autoconf automake libtool pkgconf
pkg install boost-libs openssl libevent2 pkg install boost-libs openssl libevent
pkg install gmake
You need to use GNU make (`gmake`) instead of `make`.
(`libressl` instead of `openssl` will also work) (`libressl` instead of `openssl` will also work)
For the wallet (optional): For the wallet (optional):
@ -338,7 +340,7 @@ Then build using:
./autogen.sh ./autogen.sh
./configure --with-incompatible-bdb BDB_CFLAGS="-I/usr/local/include/db5" BDB_LIBS="-L/usr/local/lib -ldb_cxx-5" ./configure --with-incompatible-bdb BDB_CFLAGS="-I/usr/local/include/db5" BDB_LIBS="-L/usr/local/lib -ldb_cxx-5"
make gmake
*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