To add multiple modules, try:
-$ ./configure --with-modules="mysql mypgsql"
+$ ./configure --with-modules="mysql mypgsql" --enable-mysql --enable-pgsql
See http://rtfm.powerdns.com/compiling-powerdns.html for more details.
+
SOLARIS NOTES
-------------
You need gcc 3.x, preferably 3.2!
gcc 2.95.x works. You need to compile using gmake - regular make only appears to
work, but doesn't in fact.
-
LINUX NOTES
-----------
None really.
+WIN32 NOTES
+-----------
+For the brave! See
+http://rtfm.powerdns.com/compiling-powerdns.html#ON-WINDOWS
+
+Needs Visual C++
+
---
After compiling, you may find the file 'pdns/pdns' helpful, we suggest you
--- /dev/null
+#!/bin/sh
+./configure --with-modules="mysql pgmysql pdns pipe" \
+ --enable-static-binaries --enable-mysql --enable-pgsql \
+ --with-pgsql-lib=/opt/postgresql-with-3.2/lib/ --prefix=/usr \
+ --sysconfdir=/etc/powerdns \
+&& make && \
+sudo /bin/sh -c "rm -rf /tmp/pdns ; DESTDIR=/tmp/pdns make install-strip" &&
+sudo mkdir -p /tmp/pdns/etc/init.d &&
+sudo cp pdns/pdns /tmp/pdns/etc/init.d/pdns &&
+sudo mkdir -p /tmp/pdns/etc/powerdns &&
+sudo mv /tmp/pdns/etc/powerdns/pdns.conf-dist /tmp/pdns/etc/powerdns/pdns.conf &&
+sudo rpm -bb pdns.spec
+