Re: Re: 4.3.4 compile on BIND9 systems

From: Date: Mon, 20 Oct 2003 11:26:56 +0000
Subject: Re: Re: 4.3.4 compile on BIND9 systems
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-4883@lists.php.net to get a copy of this message
On Oct 20, 2003, at 13:06, Jani Taskinen wrote:
    A little more investigation revealed that BIND_8_COMPAT is some
    Apple invention. The official BIND sources have BIND_4_COMPAT,
    which is the correct one. Try search with Google for BIND_8_COMPAT
    and then BIND_4_COMPAT for some references.
I don't think that's true; I think BIND 8 had BIND_4_COMPAT and now BIND 9 changed that to BIND_8_COMPAT (seems like a pretty boneheaded thing to do, but that's what we have...) I guess the biggest difference is that for most BIND 8 installations, BIND_4_COMPAT was on by default, so this problem didn't raise its head. BIND_8_COMPAT isn't set by default on BIND 9, so that's why the PHP compile chokes. Uwe suggested something like #ifndef T_A # define T_A ns_t_a #endif Which might work, although I'd suggest doing it the other way, ie. using the new, non-deprecated names in the actual code. mk

« previous php.internals (#4883) next »