From: john at petbrain dot com Operating system: Mac OS X 10.3 PHP version: 4.3.3 PHP Bug Type: Dynamic loading Bug description: Won't compile
Description: ------------ I downloaded: Apache 1.3.28 php 4.3.3, 4.2.2, 5.x beta Apache: ./configure --prefix=/www --enable-module=so make;make install PHP: ./configure --with-apxs=/www/sbin/apxs --with-mysql make This is where the module dies. I did the SIMPLIEST install that one can do with a DSO module. I tried to compile INTO apache, and had the same problem. I did a ./configure --help | grep "dns" and there seems to be NO DNS aspect to turn off. not like I WOULD want to do it, but this is the best I can do. Help. I have looked on the internet placing the bottom code into the google.com search field, and notice that OTHER people are having the same problems. Temp solution that I've trying to find out if it works, is to compile the source on my OTHER laptop running 10.2.8 and copy the binary try over and run it on my 10.3 laptop. Otherwise I'm in a bit of a jam. There are NO possible solutions for this release. :( - john Reproduce code: --------------- gcc -Iext/standard/ -I/opt/apache/php-4.3.3/ext/standard/ -DPHP_ATOM_INC -I/opt/apache/php-4.3.3/include -I/opt/apache/php-4.3.3/main -I/opt/apache/php-4.3.3 -I/opt/apache/php-4.3.3/Zend -I/opt/apache/php-4.3.3/ext/xml/expat -no-cpp-precomp -no-cpp-precomp -I/opt/apache/php-4.3.3/TSRM -g -O2 -c /opt/apache/php-4.3.3/ext/standard/dns.c -o ext/standard/dns.o && echo > ext/standard/dns.lo /opt/apache/php-4.3.3/ext/standard/dns.c: In function `zif_checkdnsrr': /opt/apache/php-4.3.3/ext/standard/dns.c:228: error: `T_MX' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:228: error: (Each undeclared identifier is reported only once /opt/apache/php-4.3.3/ext/standard/dns.c:228: error: for each function it appears in.) /opt/apache/php-4.3.3/ext/standard/dns.c:239: error: `T_A' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:240: error: `T_NS' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:242: error: `T_PTR' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:243: error: `T_ANY' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:244: error: `T_SOA' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:245: error: `T_CNAME' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:256: error: `C_IN' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c: In function `zif_getmxrr': /opt/apache/php-4.3.3/ext/standard/dns.c:288: error: `HEADER' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:288: error: `hp' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:317: error: `C_IN' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:317: error: `T_MX' undeclared (first use in this function) /opt/apache/php-4.3.3/ext/standard/dns.c:324: error: parse error before ')' token make: *** [ext/standard/dns.lo] Error 1 Expected result: ---------------- Compile. Actual result: -------------- Didn't compile -- Edit bug report at http://bugs.php.net/?id=25994&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25994&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25994&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25994&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25994&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25994&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25994&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25994&r=support Expected behavior: http://bugs.php.net/fix.php?id=25994&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25994&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25994&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25994&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25994&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25994&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25994&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25994&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25994&r=float