php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43111 It won't compile
Submitted: 2007-10-26 20:16 UTC Modified: 2007-11-05 23:19 UTC
From: trustpunk at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.5RC1 OS: Mac OS X
Private report: No CVE-ID: None
 [2007-10-26 20:16 UTC] trustpunk at gmail dot com
Description:
------------
I can configure PHP from the command line before compiling, but while it?s compiling, it runs into a nasty error.

Reproduce code:
---------------
I guess I will provide a URL to the compile log so you can help me fix this issue.

http://www.trustabyss.com/downloads/configure.zip

Expected result:
----------------
I expect to be able to compile PHP for the Mac! What else would I expect?

Actual result:
--------------
Stops after the error is given. So much for compiling...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-26 20:29 UTC] trustpunk at gmail dot com
Here's the error! Looks like someone released some bad C code.

/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c: In function 'zif_dns_check_record':
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:265: error: 'T_MX' undeclared (first use in this function)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:265: error: (Each undeclared identifier is reported only once
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:265: error: for each function it appears in.)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:286: error: 'T_A' undeclared (first use in this function)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:308: error: 'C_IN' undeclared (first use in this function)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c: In function 'zif_dns_get_mx':
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:865: error: 'HEADER' undeclared (first use in this function)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:865: error: 'hp' undeclared (first use in this function)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:894: error: 'C_IN' undeclared (first use in this function)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:901: error: parse error before ')' token
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:902: error: 'HFIXEDSZ' undeclared (first use in this function)
/Users/josh/Desktop/source/php-5.2.5RC1/ext/standard/dns.c:904: error: 'QFIXEDSZ' undeclared (first use in this function)
make: *** [ext/standard/dns.lo] Error 1
 [2007-11-05 23:19 UTC] trustpunk at gmail dot com
This was entirely my fault. I forgot that I removed the t1lib libraries from my path and it caused that error. This is a bogus bug report. I apologize if I wasted someone's time while reading this.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jun 22 14:01:32 2025 UTC