complie error

Chris Taylor Chris.Taylor at corp.eastlink.ca
Fri Feb 22 17:03:17 UTC 2013





-----Original Message-----
From: Jeremy C. Reed [mailto:jreed at isc.org] 
Sent: Thursday, February 21, 2013 1:07 PM
To: Chris Taylor
Cc: bind10-users at lists.isc.org
Subject: RE: complie error

On Thu, 21 Feb 2013, Chris Taylor wrote:

> checking boost/foreach.hpp usability... yes checking boost/foreach.hpp 
> presence... yes checking for boost/foreach.hpp... yes checking 
> boost/interprocess/sync/interprocess_upgradable_mutex.hpp usability... 
> no checking boost/interprocess/sync/interprocess_upgradable_mutex.hpp 
> presence... no checking for 
> boost/interprocess/sync/interprocess_upgradable_mutex.hpp... no
> configure: error: Missing required header files.
> 
> 
> I have boost and boost-devel installed already.
> 
> bash-3.2# rpm -qa|grep boost
> boost-devel-1.33.1-15.el5
> boost-1.33.1-15.el5

At least Boost version 1.35 is required.  (from http://bind10.isc.org/docs/bind10-guide.html#build-requirements )

> My config.log looks like this
> 
> 
> bash-3.2# tail -f config.log

Tailing it does not help :)  You need to start from the bottom and go up several sections. So immediately above the ## Cache variables. ## section (or at the bottom of the ## Core tests. ## section.


I think I am almost there I can run .configure without any issue but when I do a make I get the following error


###################Error when doing make ##############################

ontrolSocket&, const std::vector<unsigned char, std::allocator<unsigned char> >&, bool)â:
test_control.cc:1775: error: call of overloaded âsend(isc::perfdhcp::PerfPkt6Ptr&)â is ambiguous
../../../src/lib/dhcp/iface_mgr.h:380: note: candidates are: bool isc::dhcp::IfaceMgr::send(const isc::dhcp::Pkt6Ptr&)
../../../src/lib/dhcp/iface_mgr.h:393: note:                 bool isc::dhcp::IfaceMgr::send(const isc::dhcp::Pkt4Ptr&)
test_control.cc:1784: error: call of overloaded âsaveFirstPacket(isc::perfdhcp::PerfPkt6Ptr&)â is ambiguous
test_control.cc:1257: note: candidates are: void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt4Ptr&)
test_control.cc:1266: note:                 void isc::perfdhcp::TestControl::saveFirstPacket(const isc::dhcp::Pkt6Ptr&)
make[5]: *** [perfdhcp-test_control.o] Error 1
make[5]: Leaving directory `/downloads/bind10-1.0.0/tests/tools/perfdhcp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/downloads/bind10-1.0.0/tests/tools/perfdhcp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/downloads/bind10-1.0.0/tests/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/downloads/bind10-1.0.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/bind10-1.0.0'
make: *** [all] Error 2
#######################################################


I have the following packages installed on Centos5.8

Python-3.2
boost_1_35_0

and the required log4cplus and sqlite packages.

I run configure with the following switches;

./configure --with-log4cplus=/usr/local/include/log4cplus --with-pythonpath=/usr/local/bin/python3.2 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

Any guesses as to what I am missing?

Thanks,

Chris  




More information about the bind10-users mailing list