mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
[doc] Create build-netbsd.md
This commit is contained in:
parent
336685e17e
commit
1944fa3205
49
doc/build-netbsd.md
Normal file
49
doc/build-netbsd.md
Normal file
@ -0,0 +1,49 @@
|
||||
NetBSD build guide
|
||||
======================
|
||||
(updated for NetBSD 7.0)
|
||||
|
||||
This guide describes how to build bitcoind and command-line utilities on NetBSD.
|
||||
|
||||
This guide does not contain instructions for building the GUI.
|
||||
|
||||
Preparation
|
||||
-------------
|
||||
|
||||
You will need the following modules, which can be installed via pkgsrc or pkgin:
|
||||
|
||||
```
|
||||
autoconf
|
||||
automake
|
||||
boost
|
||||
db4
|
||||
git
|
||||
gmake
|
||||
libevent
|
||||
libtool
|
||||
python27
|
||||
```
|
||||
|
||||
Download the source code:
|
||||
```
|
||||
git clone https://github.com/bitcoin/bitcoin
|
||||
```
|
||||
|
||||
See [dependencies.md](dependencies.md) for a complete overview.
|
||||
|
||||
### Building Bitcoin Core
|
||||
|
||||
**Important**: Use `gmake` (the non-GNU `make` will exit with an error).
|
||||
|
||||
With wallet:
|
||||
```
|
||||
./autogen.sh
|
||||
./configure CPPFLAGS="-I/usr/pkg/include" LDFLAGS="-L/usr/pkg/lib" BOOST_CPPFLAGS="-I/usr/pkg/include" BOOST_LDFLAGS="-L/usr/pkg/lib"
|
||||
gmake
|
||||
```
|
||||
|
||||
Without wallet:
|
||||
```
|
||||
./autogen.sh
|
||||
./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"
|
||||
gmake
|
||||
```
|
Loading…
Reference in New Issue
Block a user