Build:NetBSD

From Genesis Network Wiki
Jump to navigation Jump to search

Return to Developer's Guide

Some contributions to this Wiki comes from the team at Bitcoin Core

NetBSD Build Instructions

(updated for NetBSD 7.0)

This guide describes how to build genesisd 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 Source

git clone https://github.com/genesisofficial/genesis

Building Genesis

Note

Use `gmake` (the non-GNU `make` will exit with an error).

Build 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

Build 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