[Pdns-users] Build errors rhel 3

Bastiaan van der Put bas at web4friends.com
Tue Jan 31 20:16:50 UTC 2006


1.31 doesnt work btw...rhel3 has 1.31

CXXFLAGS=-I/temp/boost_1_33_1 ./configure 
--with-modules=gmysql  --enable-recursor

make

Gives a a error also :

if g++ -DHAVE_CONFIG_H -I. -I. -I..  -Ibackends/bind 
-pthread  -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" 
-DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind  -D_GNU_SOURCE 
-I/temp/boost_1_33_1 -Wall -O2 -MT pdns_recursor.o -MD -MP -MF 
".deps/pdns_recursor.Tpo" -c -o pdns_recursor.o pdns_recursor.cc; \
then mv -f ".deps/pdns_recursor.Tpo" ".deps/pdns_recursor.Po"; else rm -f 
".deps/pdns_recursor.Tpo"; exit 1; fi
In file included from syncres.hh:15,
                  from pdns_recursor.cc:36:
recursor_cache.hh: In member function `bool
    MemRecursorCache::predicate::operator()(const
    MemRecursorCache::StoredRecord&) const':
recursor_cache.hh:58: warning: comparison between signed and unsigned integer
    expressions
pdns_recursor.cc: In function `int main(int, char**)':
pdns_recursor.cc:895: warning: comparison between signed and unsigned integer
    expressions
mtasker.cc: In member function `bool MTasker<EventKey, EventVal>::schedule()
    [with EventKey = PacketID, EventVal = std::string]':
pdns_recursor.cc:720:   instantiated from here
mtasker.cc:285: no matching function for call to `
    boost::multi_index::multi_index_container<MTasker<PacketID,
    std::string>::Waiter,
    boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::member<MTasker<PacketID,
    std::string>::Waiter, PacketID, &MTasker<PacketID,
    std::string>::Waiter::key>, mpl_::na, mpl_::na>,
    boost::multi_index::ordered_non_unique<boost::multi_index::member<MTasker<PacketID,
    std::string>::Waiter, time_t, &MTasker<PacketID, 
std::string>::Waiter::ttd>,
    mpl_::na, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
    mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
    mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>,
    std::allocator<MTasker<PacketID, std::string>::Waiter> >::get()'
make[3]: *** [pdns_recursor.o] Error 1
make[3]: Leaving directory `/temp/pdns-2.9.20.20060122.563/pdns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/temp/pdns-2.9.20.20060122.563/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temp/pdns-2.9.20.20060122.563'

At 22:55 1/27/2006, you wrote:
>On Fri, Jan 27, 2006 at 07:53:12PM +0100, Bastiaan van der Put wrote:
> > Hello,
> >
> > I have tried building pdns-2.9.20.20060119.562.tar.gz on rhel 3 seems 
> boost
> > is missing something,
> > or maybe some minimum version is required?
>
>Indeed - you need 1.31 or so. The good news is that all you need are the
>include files, see http://doc.powerdns.com/compiling-powerdns.html
>
>Good luck!
>
>--
>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