[Pdns-users] Building the latest version from source...

bert hubert bert.hubert at netherlabs.nl
Sat Sep 10 15:57:12 UTC 2005


On Sat, Sep 10, 2005 at 05:47:46PM +0200, Brad Knowles wrote:

> > Drop the bind - it is always built, it is not a module.
> 
> 	Tried that.  Now I get a different failure to make:

You are compiling with an unsupported compiler, gcc 2.95 which does not
implement std::string::clear().

The quick 'hackaround' which will not save you from other g++ 2.95 bugs is
to replace all invocations of blah.clear() by blah="";

But g++ 2.95 (the C++ compiler) is too buggy to be supported - you should've
been getting lots of warnings already.

You can probably recompile using another compiler by doing something like:

CXX=g++-3.3 CXXFLAGS=-I/usr/local/include ./configure ...

Please see http://doc.powerdns.com/pdns-users-faq.html

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services


More information about the Pdns-users mailing list