ID: 46892 Updated by: [email protected] Reported By: adam dot jaber dot ctr at dla dot mil -Status: Open +Status: Bogus Bug Type: *Compile Issues Operating System: AIX 5.3 PHP Version: 5.2.8 New Comment:
Duplicate of bug #46040 Though this is an upstream bug see http://bugs.exim.org/show_bug.cgi?id=761 Previous Comments: ------------------------------------------------------------------------ [2008-12-17 22:12:23] adam dot jaber dot ctr at dla dot mil Description: ------------ I set up php to work with apache and db2. I try to run the make command to compile and keeps coming back with an error. Apache httpd 2.2.10 is installed. Reproduce code: --------------- #./configure --enable-cli --disable-cgi --with-apxs2=/usr/local/bin/apxs --with-ibm-db2=/data/db2/db2inst1/sqllib # make #/bin/sh /usr/local/src/php5/php-5.2.8/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib -Iext/pcre/ -I/usr/local/src/php5/php-5.2.8/ext/pcre/ -DPHP_ATOM_INC -I/usr/local/src/php5/php-5.2.8/include -I/usr/local/src/php5/php-5.2.8/main -I/usr/local/src/php5/php-5.2.8 -I/usr/include/libxml2 -I/usr/local/src/php5/php-5.2.8/ext/date/lib -I/usr/local/src/php5/php-5.2.8/TSRM -I/usr/local/src/php5/php-5.2.8/Zend -I/usr/include -g -O2 -c /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_chartables.c -o ext/pcre/pcrelib/pcre_chartables.lo In file included from /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_chartables.c:25: /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:976: error: parse error before 'BOOL' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:976: warning: no semicolon at end of struct or union /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:980: error: parse error before '}' token /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:980: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1027: error: parse error before 'BOOL' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1027: warning: no semicolon at end of struct or union /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1028: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1029: error: parse error before 'noteol' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1029: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1030: error: parse error before 'utf8' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1030: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1031: error: parse error before 'jscript_compat' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1031: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1032: error: parse error before 'endonly' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1032: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1033: error: parse error before 'notempty' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1033: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1034: error: parse error before 'partial' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1034: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1035: error: parse error before 'hitend' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1035: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1036: error: parse error before 'bsr_anycrlf' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1036: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1049: error: parse error before '}' token /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1049: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1137: error: parse error before 'php__pcre_is_newline' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1138: error: parse error before 'BOOL' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1138: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1143: error: parse error before 'php__pcre_was_newline' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1144: error: parse error before 'BOOL' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1144: warning: data definition has no type or storage class /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1145: error: parse error before 'php__pcre_xclass' /usr/local/src/php5/php-5.2.8/ext/pcre/pcrelib/pcre_internal.h:1145: warning: data definition has no type or storage class make: 1254-004 The error code from the last command is 1. Stop. Expected result: ---------------- Want to be able to compile php. Actual result: -------------- NEED HELP! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46892&edit=1
