[Pdns-users] Compiling on NetBSD: no success yet

Stephane Bortzmeyer bortzmeyer at nic.fr
Mon Jun 16 12:11:33 UTC 2003

http://rtfm.powerdns.com/compiling-powerdns.html does not mention
NetBSD. On a PC running NetBSD 1.6, I can configure:

./configure --includedir=/usr/pkg --with-modules="pipe" --enable-recursor --enable-pdns_server

but I cannot make:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -Wall -O2 -c pipebackend.cc -Wp,-MD,.deps/pipebackend.TPlo  -fPIC -DPIC -o .libs/pipebackend.lo
g++: unrecognized option `-pthread'
In file included from ../../pdns/dns.hh:24,
                 from pipebackend.cc:15:
../../pdns/utility.hh:42: pthread.h: No such file or directory
../../pdns/utility.hh:43: semaphore.h: No such file or directory

pthread.h and others live in /usr/pkg/include (hence my
--includedir, which has not been transmitted to gcc, unfortunately).

More information about the Pdns-users mailing list