[Pdns-users] Re: PowerDNS compile failure: Solaris 8 x86

bert hubert ahu at ds9a.nl
Wed Aug 6 06:23:57 UTC 2003


On Tue, Aug 05, 2003 at 01:20:48PM -0700, just me wrote:
> Hi, my PDNS compile broke:
> 
> make[3]: Entering directory `/export/home/matt/tmp/pdns-2.9.10/pdns'
> source='packethandler.cc' object='packethandler.o' libtool=no \
> depfile='.deps/packethandler.Po' tmpdepfile='.deps/packethandler.TPo'
> \
> depmode=gcc3 /bin/bash ../depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I..  -Ibackends/bind
> -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\"
> -DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind  -D_REENTRANT  -Wall -O2
> -c -o packethandler.o `test -f packethandler.cc || echo
> './'`packethandler.cc
> packethandler.cc:38: error: parse error before numeric constant
> packethandler.cc: In member function `DNSPacket*
>    PacketHandler::question(DNSPacket*)':
> packethandler.cc:811: error: request for member `insert' in `14',

Add: 
	#undef PC 
somewhere in the top of packethandler.hh

Will add this to the next release.

> I'm also wondering, the docs only seem to cover configuring PowerDNS
> to speak to MySQL and PostgreSQL. (I tried adding the gpgsql module,
> but try as I could, configure didn't "find" the pgsql libs.)

You need to help it a bit, perhaps - you also need libpq++.so.

> Your info page says PDNS is also compatible with Oracle8i, but I can't
> find a configure flag to add OCI8 support.

./configure --with-modules="oracle"

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-users mailing list