[Pdns-users] One more compile error for pdns 2.9.18

bert hubert bert.hubert at netherlabs.nl
Tue Oct 4 09:17:35 UTC 2005


On Tue, Oct 04, 2005 at 10:53:01AM +0200, Jeroen Wunnink wrote:
> sstuff.hh:16:32: boost/shared_ptr.hpp: No such file or directory
> In file included from lwres.cc:37:

http://doc.powerdns.com/compiling-powerdns.html lists the solution to this
problem:

 Starting with version 2.9.18, PowerDNS requires 'Boost' to compile, it is
available for most operating systems. Otherwise, see the Boost website.

If your operating system does not have a Boost package, you don't need to
compile all of boost just for PowerDNS. PowerDNS only uses Boost include
files, so there is no need to install all of boost. Just untar the Boost
distribution file and point instruct ./configure to find it, perhaps like
this:

	$ CXXFLAGS=-I/home/bert/download/boost_1_33_0 ./configure ...
    

> sstuff.hh:19: error: expected namespace-name before ';' token
> sstuff.hh:19: error: `<type error>' is not a namespace
> lwres.cc: In member function `int LWRes::asyncresolve(const 
> std::string&, const char*, int, bool)':
> lwres.cc:125: warning: comparison between signed and unsigned integer 
> expressions
> make[3]: *** [lwres.o] Error 1
> make[3]: Leaving directory `/root/pdns/pdns-2.9.18/pdns'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/pdns/pdns-2.9.18/pdns'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/pdns/pdns-2.9.18'
> make: *** [all] Error 2
> --------
> 
> Any idea on what might be going wrong here ?
> 
> 
> 
> Met vriendelijke groet,
> 
> Jeroen Wunnink,
> EasyHosting B.V. Systeembeheerder
> systeembeheer at easyhosting.nl
> 
> telefoon:+31 (035) 6285455              Postbus 48
> fax: +31 (035) 6838242                  3755 ZG Eemnes
> 
> http://www.easyhosting.nl
> http://www.easycolo.nl
> 
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
> 
> !DSPAM:43424580114719798180017!

-- 
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