Brian Gaber
2012-06-07 16:17:45 UTC
Without success I have tried compiling PHP 5.2.14, 5.3.13 and 5.4.3 with Apache 2.4.2 on AIX 6.1
With 5.2.14 and 5.3.13 the make is successful, but every test in "make test" fails.
With 5.4.3 make fails with:
/bin/sh /home/downloads/php-5.4.3/libtool --silent --preserve-dup-deps --mode=compile xlc -q64 -IZend/ -I/home/downloads/php-5.4.3/Zend/ -DPHP_ATOM_INC -I/home/downloads/php-5.4.3/include -I/home/downloads/php-5.4.3/main -I/home/downloads/php-5.4.3 -I/home/downloads/php-5.4.3/ext/date/lib -I/home/downloads/php-5.4.3/ext/ereg/regex -I/opt/freeware/include/libxml2 -I/opt/freeware/include -I/usr/local/mysql/include -I/home/downloads/php-5.4.3/TSRM -I/home/downloads/php-5.4.3/Zend -I/usr/include -qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -c /home/downloads/php-5.4.3/Zend/zend_language_parser.c -o Zend/zend_language_parser.lo
"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-236 (W) Macro name __restrict__ has been redefined.
"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-358 (I) "__restrict__" is defined on line 186 of /usr/include/standards.h.
"/home/downloads/php-5.4.3/Zend/zend_language_parser.c", line 6044.75: 1506-041 (E) The invocation of macro memcmp contains fewer arguments than are required by the macro definition.
"/home/downloads/php-5.4.3/Zend/zend_language_parser.c", line 6044.33: 1506-046 (S) Syntax error.
"/home/downloads/php-5.4.3/Zend/zend_language_parser.c", line 6044.33: 1506-182 (S) Arguments missing for built-in function __memcmp.
make: *** [Zend/zend_language_parser.lo] Error 1
With 5.2.14 and 5.3.13 the make is successful, but every test in "make test" fails.
With 5.4.3 make fails with:
/bin/sh /home/downloads/php-5.4.3/libtool --silent --preserve-dup-deps --mode=compile xlc -q64 -IZend/ -I/home/downloads/php-5.4.3/Zend/ -DPHP_ATOM_INC -I/home/downloads/php-5.4.3/include -I/home/downloads/php-5.4.3/main -I/home/downloads/php-5.4.3 -I/home/downloads/php-5.4.3/ext/date/lib -I/home/downloads/php-5.4.3/ext/ereg/regex -I/opt/freeware/include/libxml2 -I/opt/freeware/include -I/usr/local/mysql/include -I/home/downloads/php-5.4.3/TSRM -I/home/downloads/php-5.4.3/Zend -I/usr/include -qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -c /home/downloads/php-5.4.3/Zend/zend_language_parser.c -o Zend/zend_language_parser.lo
"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-236 (W) Macro name __restrict__ has been redefined.
"/home/downloads/php-5.4.3/Zend/zend.h", line 179.10: 1506-358 (I) "__restrict__" is defined on line 186 of /usr/include/standards.h.
"/home/downloads/php-5.4.3/Zend/zend_language_parser.c", line 6044.75: 1506-041 (E) The invocation of macro memcmp contains fewer arguments than are required by the macro definition.
"/home/downloads/php-5.4.3/Zend/zend_language_parser.c", line 6044.33: 1506-046 (S) Syntax error.
"/home/downloads/php-5.4.3/Zend/zend_language_parser.c", line 6044.33: 1506-182 (S) Arguments missing for built-in function __memcmp.
make: *** [Zend/zend_language_parser.lo] Error 1