[Pdns-dev] Compiling 2.9.22-x3

Ask Bjørn Hansen ask at develooper.com
Mon Nov 8 10:12:09 CET 2010


Hi,

We're using 2.9.22 plus some bugfix patches.  I wanted to upgrade to the latest version (2.9.22-x3?).

Question 1:

Where can I find a description of the changes since 2.9.22?  I tried crawling through the timeline on , but it's not really useful.  (For one thing the recursive and authoritative server changes are all intermingled?).

Question 2:

Does pdns now require a newer version of boost?  We have 1.33 installed because that's what comes with RHEL/CentOS and I'd rather not upgrade it until RedHat does (boost seems super fragile; so upgrading it usually causes all sorts of trouble for other software expecting the older version).  The compilation error I got is below.
 

 - ask

g++ -DHAVE_CONFIG_H -I. -I..  -Ibackends/bind -pthread -DLDAP_DEPRECATED -O2 -g -m64 -mtune=generic -DSYSCONFDIR=\"/etc/pdns\" -DLIBDIR=\"/usr/lib64/pdns\" -DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -pthread  -D_GNU_SOURCE -O2 -g -m64 -mtune=generic -Wall -O2 -MT randombackend.o -MD -MP -MF .deps/randombackend.Tpo -c -o randombackend.o randombackend.cc
slavecommunicator.cc:33:29: error: boost/foreach.hpp: No such file or directory
slavecommunicator.cc: In member function ‘void CommunicatorClass::slaveRefresh(PacketHandler*)’:
slavecommunicator.cc:175: error: expected primary-expression before ‘&’ token
slavecommunicator.cc:175: error: ‘di’ was not declared in this scope
slavecommunicator.cc:175: error: ‘BOOST_FOREACH’ was not declared in this scope
slavecommunicator.cc:175: error: expected `;' before ‘{’ token
slavecommunicator.cc:172: warning: unused variable ‘nameindex’
slavecommunicator.cc:224: error: expected primary-expression before ‘&’ token
slavecommunicator.cc:224: error: ‘di’ was not declared in this scope
slavecommunicator.cc:224: error: ‘BOOST_FOREACH’ was not declared in this scope
slavecommunicator.cc:224: error: expected `;' before ‘{’ token
slavecommunicator.cc:242: error: expected `}' at end of input
make[3]: *** [slavecommunicator.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/randombackend.Tpo .deps/randombackend.Po
mv -f .deps/mastercommunicator.Tpo .deps/mastercommunicator.Po
make[3]: Leaving directory `/usr/src/redhat/BUILD/pdns-2.9.22.x/pdns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/pdns-2.9.22.x/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/pdns-2.9.22.x'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.4052 (%build)




More information about the Pdns-dev mailing list