|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2009-12-18 00:35 UTC] jani@php.net
  [2009-12-18 11:03 UTC] jani@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 16:00:01 2025 UTC | 
Description: ------------ When building PHP 5.2.12 from source tarball on Mac OS Leopard (10.5.8), the DNS extension fails to compile. The following error was printed: In file included from /usr/include/arpa/nameser.h:59, from /usr/local/src/php-5.2.12/ext/standard/dns.c:62: /usr/include/arpa/nameser8_compat.h:304: error: conflicting types for ?HEADER? /usr/include/arpa/nameser_compat.h:99: error: previous declaration of ?HEADER? was here The following patch resolves the issue for me: --- configure.in.bak 2009-12-17 11:14:31.000000000 -0800 +++ configure.in 2009-12-17 11:14:37.000000000 -0800 @@ -378,7 +378,6 @@ netinet/in.h \ alloca.h \ arpa/inet.h \ -arpa/nameser_compat.h \ arpa/nameser.h \ assert.h \ crypt.h \ Expected result: ---------------- Successful build Actual result: -------------- Failed build