On 05/09/2012, at 7:53 AM, Zane Thomas wrote: > Justin, > > be in OSX's "Homebrew" packaging system reasonably > soon. > > Awesome, thanks a lot, perfect timing. :)
Ouch, compilation errors are being reported for Mountain Lion (newest OSX release), unlike the OSX release I use (Lion). Full error log here in case anyone has ideas: https://gist.github.com/3662592 The actual error: ************************************************************* ************************************************************* c++ -DHAVE_CONFIG_H -I. -I.. -Ibackends/bind -DSYSCONFDIR=\"/usr/local/Cellar/powerdnsauth/3.1/etc\" -DLIBDIR=\"/usr/local/Cellar/powerdnsauth/3.1/lib\" -DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -I/usr/local/include -I/usr/local/Cellar/sqlite/3.7.14/include -Iext/polarssl-1.1.2/include -pthread -Wall -O2 -MT nsecrecords.o -MD -MP -MF .deps/nsecrecords.Tpo -c -o nsecrecords.o nsecrecords.cc In file included from dbdnsseckeeper.cc:33: ./cachecleaner.hh:21:38: error: expected expression sequence_t& sidx=collection.get<1>(); ^ ./cachecleaner.hh:65:38: error: expected expression sequence_t& sidx=collection.get<1>(); ^ ./cachecleaner.hh:21:15: error: declaration of reference variable 'sidx' requires an initializer sequence_t& sidx=collection.get<1>(); ^~~~ dbdnsseckeeper.cc:398:9: note: in instantiation of function template specialization 'pruneCollection<boost::multi_index::multi_index_container<DNSSECKeeper::METACacheEntry, boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::composite_key<DNSSECKeeper::METACacheEntry, boost::multi_index::member<DNSSECKeeper::METACacheEntry, std::basic_string<char>, d_domain>, boost::multi_index::member<DNSSECKeeper::METACacheEntry, std::basic_string<char>, d_key>, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::multi_index::composite_key_compare<CIStringCompare, CIStringCompare, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, mpl_::na>, boost::multi_index::sequenced<boost::multi_index::tag<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>>, 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<DNSSECKeeper::METACacheEntry>> >' requested here pruneCollection(s_metacache, ::arg().asNum("max-cache-entries")); ^ In file included from dbdnsseckeeper.cc:33: ./cachecleaner.hh:21:15: error: declaration of reference variable 'sidx' requires an initializer sequence_t& sidx=collection.get<1>(); ^~~~ dbdnsseckeeper.cc:402:9: note: in instantiation of function template specialization 'pruneCollection<boost::multi_index::multi_index_container<DNSSECKeeper::KeyCacheEntry, boost::multi_index::indexed_by<boost::multi_index::ordered_unique<boost::multi_index::member<DNSSECKeeper::KeyCacheEntry, std::basic_string<char>, d_domain>, CIStringCompare, mpl_::na>, boost::multi_index::sequenced<boost::multi_index::tag<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>>, 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<DNSSECKeeper::KeyCacheEntry>> >' requested here pruneCollection(s_keycache, ::arg().asNum("max-cache-entries")); ^ 4 errors generated. make[4]: *** [dbdnsseckeeper.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ************************************************************* ************************************************************* Anyone know how to fix that? Regards and best wishes, Justin Clift _______________________________________________ Pdns-dev mailing list Pdns-dev@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-dev