From: ben dot litton at gmail dot com Operating system: OS X 10.3.9 PHP version: 5.1.1 PHP Bug Type: Compile Failure Bug description: libxml compile failure
Description: ------------ I am trying to compile php 5.1.1 on a rented to demonstrate code we have in status. I did this before with release candidates. I spent many hours trying to get this to compile but to no avail. I eventually pulled out a copy of RC5 I had and it compiled without complaint and an identical ./configure. I had compiled libxml 2.6.22 as I continued to troubleshoot the problem but xml2-config returns 2.6.16. If the requirements between RC5 for libxml2 jumped for 5.1.1, I'm happy just chalking it up to me screwing up the libxml2 install but if my understanding is correct, 2.6.16 should be sufficient. If you need me to try to replicate this problem, I will only be able to do so in the immediate short term, as it is a rented laptop. Thanks Reproduce code: --------------- ./configure --with-apxs --with-mysql=/usr/local/mysql \ --with-libxml-dir=/usr/local/lib make Expected result: ---------------- Successful compile Actual result: -------------- /bin/sh /opt/src/php/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/libxml/ -I/opt/src/php/ext/libxml/ -DPHP_ATOM_INC -I/opt/src/php/include -I/opt/src/php/main -I/opt/src/php -I/usr/include/libxml2 -I/opt/src/php/ext/date/lib -I/usr/local/mysql/include -I/opt/src/php/TSRM -I/opt/src/php/Zend -no-cpp-precomp -g -O2 -c /opt/src/php/ext/libxml/libxml.c -o ext/libxml/libxml.lo /opt/src/php/ext/libxml/libxml.c:43:28: libxml/xmlsave.h: No such file or directory /opt/src/php/ext/libxml/libxml.c:407: error: parse error before "error" ... ... And a series of cascading compile errors afterwards. -- Edit bug report at http://bugs.php.net/?id=35586&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35586&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35586&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35586&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35586&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35586&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35586&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35586&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35586&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35586&r=support Expected behavior: http://bugs.php.net/fix.php?id=35586&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35586&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35586&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35586&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35586&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35586&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35586&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35586&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35586&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35586&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35586&r=mysqlcfg