PowerDNS under MacOS X 10.6.4

Thanks to an ent­ry on LSD::RELOAD I was final­ly able to get powerdns to run on my MacOS X 10.6.4 system. 

Out of per­so­nal pre­fe­rence I wan­ted it to run with post­gres­ql ins­tead of mys­ql, so the­re was a litt­le figu­ring out invol­ved in how to get things going wit­hout the mys­ql dri­ver – appar­ent­ly, the make files only take one data­ba­se backend and do not com­pi­le mul­ti­ple dri­vers at the same time.

Also, secon­da­ry soft­ware omes from MacPorts, so paths had to be appro­pria­te­ly matched. And then, the­re was some hand-twea­king of Make­files becau­se ‑Bsta­tic, ‑Bdy­na­mic and ‑lcrypt war­rant spe­cial handling. 

This leads to the fol­lo­wing com­mand line: 

CXXFLAGS="-I/opt/local/include -DDARWIN" \
./configure --with-pgsql-lib=/opt/local/lib/postgresql84 \
--with-pgsql-includes=/opt/local/include/postgresql84 \
--prefix=/usr/local --with-modules="gpgsql"

Beitrag veröffentlicht





Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert