Compiling queryperf on Mac OS X Leopard

Mark Andrews Mark_Andrews at isc.org
Sat May 31 01:18:07 UTC 2008


> BIND 8 compatibility has been deprecated in Mac OS X, and will  
> probably disappear very soon.  You are much better off using the BIND  
> 9 headers.

	They are not BIND 9 header.  They are all BIND 8 headers.
	Just old vs new.  The new typdefs/macro are in their own
	namespace ns_* and NS_*.
 
> --
> Marc Majka
> 
> 
> On 30 May, 2008, at 06:02, Merul Patel wrote:
> 
> >> On 30 May 2008, at 11:29, Merul Patel wrote:
> >>
> >>> Hi,
> >>>
> >>> BIND9 seems to build fine on my Mac OS X 10.5.3 box, but I'm unable
> >>> to
> >>> build queryperf, and there's little in the README to assist. The
> >>> utility compiles fine on Debian Etch, so it's clearly something that
> >>> the configure script is/isn't picking up about the Mac box.
> >>>
> >> IIRC queryperf requires bind 8 compatibility.
> >>
> >> cd bind-9.5.0/contrib/queryperf
> >> ./configure
> >>
> >> # Edit the Makefile and alter the DEFS line to look like
> >> DEFS = -DBIND_8_COMPAT -DHAVE_CONFIG_H
> >>
> >> make
> >> # Then run from the local directory (there is no make install)
> >>
> >> BTW - if you want to link queryperf with your build of bind-9.5.0 you
> >> need the change above and to configure bind-9.5.0 like this
> >> ./configure --enable-libbind --with-libtool
> >>
> >> HTH
> >> John
> >> ---
> >> John Dickinson
> >>
> >
> > Thanks John,
> >
> > That's done the trick, and queryperf builds/works fine now.
> >
> > Regards,
> >
> > Merul
> >
> >
> 
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the bind-users mailing list