ID: 42895
User updated by: fischdose at gmail dot com
Reported By: fischdose at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: linux 2.6.18
PHP Version: 5.2.4
New Comment:
upgraded libxml2-2.6.25 to 2.6.30
Previous Comments:
------------------------------------------------------------------------
[2007-10-08 22:22:27] fischdose at gmail dot com
Description:
------------
can't compile php 5.2.4
configure works fine with:
make fails
Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql --prefix=/usr/local/php
make
Actual result:
--------------
make
/bin/sh /home/ah/installs/php-5.2.4/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/libxml/
-I/home/ah/installs/php-5.2.4/ext/libxml/ -DPHP_ATOM_INC
-I/home/ah/installs/php-5.2.4/include -I/home/ah/installs/php-5.2.4/main
-I/home/ah/installs/php-5.2.4 -I/usr/include/libxml2
-I/home/ah/installs/php-5.2.4/ext/date/lib -I/usr/local/mysql/include
-I/home/ah/installs/php-5.2.4/TSRM -I/home/ah/installs/php-5.2.4/Zend
-I/usr/include -g -O2 -prefer-non-pic -c
/home/ah/installs/php-5.2.4/ext/libxml/libxml.c -o ext/libxml/libxml.lo
In file included from
/home/ah/installs/php-5.2.4/ext/libxml/libxml.c:28:
/home/ah/installs/php-5.2.4/main/php.h:142: error: expected identifier
or '(' before '__extension__'
make: *** [ext/libxml/libxml.lo] Fehler 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42895&edit=1