From: fischdose at gmail dot com
Operating system: linux 2.6.18
PHP version: 5.2.4
PHP Bug Type: Compile Failure
Bug description: error at make - libxml
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 bug report at http://bugs.php.net/?id=42895&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=42895&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=42895&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=42895&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42895&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=42895&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42895&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42895&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42895&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42895&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42895&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=42895&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=42895&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42895&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42895&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42895&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42895&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42895&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42895&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42895&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42895&r=mysqlcfg