4.3.4 compile on BIND9 systems

From: Date: Sat, 11 Oct 2003 21:10:10 +0000
Subject: 4.3.4 compile on BIND9 systems
Groups: php.qa 
Request: Send a blank email to php-qa+get-15714@lists.php.net to get a copy of this message
Hi, BIND9 has finally removed the long-deprecated T_A, T_MX result type symbols from the BIND4 era. checkdnsrr() in ext/standard/dns.c still relies on them, however, so at the moment PHP 4.3.4 doesn't build on a BIND9 system like Mac OS X 10.3 Panther. Some possible solutions: 1. Define BIND_8_COMPAT to force the bind 9 nameser.h to include a compatibility file with these symbols. 2. Switch to the new naming (T_A -> ns_t_a, T_MX, ns_t_mx etc) and define aliases to the old ones if the new ones are not defined (ie. on a BIND4 or earlier system). Derick seems to favour the latter approach. Thanks, mk

« previous php.qa (#15714) next »