wiki:SystemNotesNetBSD6

Introduction and System Description

This documents installing on NetBSD. The examples were on NetBSD 6_BETA2 on i386.

The version of BIND 10 was latest master from git at the time.

These notes are quite dated. Keep in mind that many things have changed since they were created. In particular, Kea does not require python3 or SQLite. It can also use either OpenSSL or Botan, so Botan is no longer a strict dependency.

Setup of Packaged Prerequisites

pkgin install py31-sqlite3-0nb2 botan log4cplus boost-headers pkg-config

To build from git and do the C++ unittests too:

pkgin install scmgit-base automake googletest libtool

Troubleshooting

Error

You may get errors like this during compilation:

/usr/pkg/include/boost/intrusive/detail/memory_util.hpp:250:66: error: variadic templates only available with -std=c++0x or -std=gnu++0x

This is an issue in the boost package installation, see http://comments.gmane.org/gmane.os.netbsd.devel.packages/37457

Work to get this resolved is ongoing. In the meantime, the quick way to resolve this issue is to edit user.hpp (/usr/pkg/include/boost/config/user.hpp) from the boost install, and comment out the BOOST_NO_CONFIG lines;

Last modified 3 years ago Last modified on Dec 3, 2014, 5:57:51 PM