Re: [exim] building exim on OSX against *external* bind9 (*n…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tony Finch
Data:  
Para: OpenMacNews
CC: exim-users
Assunto: Re: [exim] building exim on OSX against *external* bind9 (*not* w/ BIND_8_COMPAT) failing @ make
On Thu, 13 Jan 2005, OpenMacNews wrote:

> > This is because the native Bind 9 resolver library has a different API to
> > the standard Unix resolver library, and Exim is written to use the
> > latter.
>
> i think i've just learned something. the "standard UNIX resolver library"?
>
> do you mean that that "std lib" is *not* "from" bind, i.e. ? now that you
> mention it, that wouldn't make any licensing sense, would it?
> perhaps it should have been obvious, but i did not realize that.


It is based on the resolver library from early versions of Bind. It a de
facto standard rather than de jure.

> ok. so iiuc, i *should* be able to build against an external bind build, i.e.
> - *my* -lbind, rather than Apple's included -lresolv, but will still need to
> implement some sort of compatibility mapping (e.g., a BIND_8_COMPAT
> equivalent) to ensure that the lbind maps to the "standard unix resolver lib".
>
> true?


I believe the compatibility stuff comes with Bind 9 (I haven't checked
though) so it should be just a matter of ensuring that your compile flags
are correct.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}