James, On Monday, 2013-02-25 13:56:58 +1100, James Brown <jlbr...@bordo.com.au> wrote: > > On 23/02/2013, at 9:44 AM, JINMEI Tatuya / 神明達哉 <jin...@isc.org> > wrote: > > > At Sat, 23 Feb 2013 09:30:55 +1100, > > James Brown <jlbr...@bordo.com.au> wrote: > > > >> Received an error running configure on Mountain Lion: > >> > >> ./configure > >> checking for a BSD-compatible install... /usr/bin/install -c > >> checking whether build environment is sane... yes > >> checking for a thread-safe mkdir -p... ./install-sh -c -d > > [...] > >> checking for C++ compiler default output file name... > >> configure: error: in `/Users/jlbrown/Downloads/bind10-1.0.0': > >> configure: error: C++ compiler cannot create executables > >> See `config.log' for more details. > >> > >> Have installed the latest version of Xcode. > > > > Looks like you don't even have C/C++ compilers. Have you installed > > "Command Line Tools" via Xcode? > > > > You may also want to check this: > > http://bind10.isc.org/wiki/SystemNotesMacOSXMountainLion > > > > --- > > JINMEI, Tatuya > > Internet Systems Consortium, Inc. > > Followed the instructions on the page of the wiki. Successfully did > the ./configure command (as per the page) but 'make' fails with: > > encode/base_n.cc:266: instantiated from ‘static std::string > isc::util::encode::<unnamed>::BaseNTransformer<BitsPerChunk, > BaseZeroCode, Encoder, Decoder>::encode(const std::vector<unsigned > char, std::allocator<unsigned char> >&) [with int BitsPerChunk = 4, > char BaseZeroCode = '0', Encoder = > boost::archive::iterators::base16_from_binary<boost::archive::iterators::transform_width<isc::util::encode::<unnamed>::EncodeNormalizer, > 4, 8, unsigned char>, unsigned char>, Decoder = > boost::archive::iterators::transform_width<boost::archive::iterators::binary_from_base16<isc::util::encode::<unnamed>::DecodeNormalizer, > char>, 8, 4, char>]’ encode/base_n.cc:412: instantiated from > char>here /usr/local/include/boost/archive/iterators/transform_width.hpp:144: > char>error: no ‘operator++(int)’ declared for postfix ‘++’, trying > char>prefix operator instead make[5]: *** [base_n.lo] Error 1 > char>make[4]: *** [all-recursive] Error 1 make[3]: *** > char>[all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 > char>make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
It looks like this might be an issue added to the Mountain Lion install notes over the weekend: The latest version of HomeBrew as of this writing (February 23, 2013) installs Boost 1.53.0. Unfortunately, it doesn't work with the release candidate version of BIND 10 as reported in: http://bind10.isc.org/ticket/2764 Until this ticket is resolved, you'll need to apply the proposed patch by hand before building BIND 10: % cd bind10-1.0.0 % curl -o - http://bind10.isc.org/raw-attachment/ticket/2764/base_n.diff | patch -p1 Alternatively, you could use an older version of Boost by downloading from http://www.boost.org/ and extracting it somewhere. You'll need to specify the path to your local Boost header files using the --with-boost-include ./configure option. Please go ahead and try that patch and let us know if it works. Thanks! -- Shane _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users