You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build-netbsd.md 1011B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. NetBSD build guide
  2. ======================
  3. (updated for NetBSD 7.0)
  4. This guide describes how to build bitcoind and command-line utilities on NetBSD.
  5. This guide does not contain instructions for building the GUI.
  6. Preparation
  7. -------------
  8. You will need the following modules, which can be installed via pkgsrc or pkgin:
  9. ```
  10. autoconf
  11. automake
  12. boost
  13. db4
  14. git
  15. gmake
  16. libevent
  17. libtool
  18. python27
  19. ```
  20. Download the source code:
  21. ```
  22. git clone https://github.com/bitcoin/bitcoin
  23. ```
  24. See [dependencies.md](dependencies.md) for a complete overview.
  25. ### Building Bitcoin Core
  26. **Important**: Use `gmake` (the non-GNU `make` will exit with an error).
  27. With wallet:
  28. ```
  29. ./autogen.sh
  30. ./configure CPPFLAGS="-I/usr/pkg/include" LDFLAGS="-L/usr/pkg/lib" BOOST_CPPFLAGS="-I/usr/pkg/include" BOOST_LDFLAGS="-L/usr/pkg/lib"
  31. gmake
  32. ```
  33. Without wallet:
  34. ```
  35. ./autogen.sh
  36. ./configure --disable-wallet CPPFLAGS="-I/usr/pkg/include" LDFLAGS="-L/usr/pkg/lib" BOOST_CPPFLAGS="-I/usr/pkg/include" BOOST_LDFLAGS="-L/usr/pkg/lib"
  37. gmake
  38. ```