ID: 35586 Updated by: [EMAIL PROTECTED] Reported By: ben dot litton at gmail dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: OS X 10.3.9 PHP Version: 5.1.1 New Comment:
That's just very broken libxml installation. Not PHP bug. Previous Comments: ------------------------------------------------------------------------ [2005-12-07 16:34:50] ben dot litton at gmail dot com 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 this bug report at http://bugs.php.net/?id=35586&edit=1