ID:               50510
 Updated by:       j...@php.net
 Reported By:      lennond at darkhorse dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Mac OS X 10.5
 PHP Version:      5.2.12
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #50508


Previous Comments:
------------------------------------------------------------------------

[2009-12-17 19:32:59] lennond at darkhorse dot com

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50510&edit=1

Reply via email to