[Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Delta Yeh
Hi, I update latest pdns git head, build with boost 1.52 but failed. ./configure --with-boost=/root/pdns/boost_1_52_0/ --enable-static-boost When make ,the error info is : pdnssec.o: In function `boost::program_options::error_with_option_name::~error_with_option_name()':

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Aki Tuomi
On Thu, Jan 10, 2013 at 04:46:07PM +0800, Delta Yeh wrote: Hi, I update latest pdns git head, build with boost 1.52 but failed. ./configure --with-boost=/root/pdns/boost_1_52_0/ --enable-static-boost When make ,the error info is : Can you send the compiler line as well, which

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Delta Yeh
Hope this will help. g++ -DHAVE_CONFIG_H -I. -I.. -Ibackends/bind -I/root/pdns/boost_1_52_0/ -pthread -DSYSCONFDIR=\/usr/local/etc\ -DLIBDIR=\/usr/local/lib\ -DLOCALSTATEDIR=\/var/run\ -Ibackends/bind -pthread -I/usr/include/lua5.1-Iext/polarssl-1.1.2/include -Iext/rapidjson/include

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Peter van Dijk
Hello, On Jan 10, 2013, at 10:09 , Delta Yeh wrote: Hope this will help. Do you have static boost libs in your custom boost dir? Kind regards, -- Peter van Dijk Netherlabs Computer Consulting BV - http://www.netherlabs.nl/ ___ Pdns-dev mailing

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Delta Yeh
I build boost with ./b2 link=static stage Performing configuration checks - 32-bit : yes - x86 : yes - has_icu builds : yes warning: Graph library does not contain MPI-based parallel components. note: to enable them, add using mpi ;

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Delta Yeh
I have tried to use apt-get to install latest libboost-program-options-dev package on this box, but it also fail to build pdns, same error. 2013/1/10 Peter van Dijk peter.van.d...@netherlabs.nl: Hello, On Jan 10, 2013, at 10:43 , Delta Yeh wrote: I build boost with ./b2 link=static

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread a b
I have done the same to run some tests. It appears boost.m4 is not very good and has trouble dealing with Boost in a separate dir, especially if there is also a system wide version. I have no useful advice to offer, other than checking whether your distribution will give you 1.34 or up and

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread bert hubert
On Thu, Jan 10, 2013 at 07:58:07PM +0100, a b wrote: In my experience, Boost is one of the biggest obstacles in getting pdns to build. With that in mind, I propose to completely disengage pdns from any and all Boost libraries in order to remove it as a dependency. Hi 'a b', While I agree

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Delta Yeh
If there is doc on how to build pdns with static boost, every thing should be OK. 2013/1/11 bert hubert bert.hub...@netherlabs.nl: On Thu, Jan 10, 2013 at 07:58:07PM +0100, a b wrote: In my experience, Boost is one of the biggest obstacles in getting pdns to build. With that in mind, I

Re: [Pdns-dev] pdns git head fail to build with boost 1.52

2013-01-10 Thread Peter van Dijk
Hello, On Jan 11, 2013, at 4:51 , Delta Yeh wrote: If there is doc on how to build pdns with static boost, every thing should be OK. The problem is not building pdns with static boost, --enable-static-boost works just fine for that. The problem is with using boost without installing it.