ID: 28370 Comment by: Bjorn dot Wiberg at its dot uu dot se Reported By: rehanann at kfupm dot edu dot sa Status: Bogus Bug Type: Compile Failure Operating System: Aix 5.2 ML 2 PHP Version: 5CVS-2004-05-12 (dev) New Comment:
A "solution" to this particular bug is to download gcc 3.3.2.0 from http://www.bullfreeware.com/ and install it according to the instructions on that site. (The user "freeware" is required to exist on the system, so create it beforehand). Make sure to call PHP's configure script with: CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/include" ./configure <DIRECTIVES> Best regards, Björn Previous Comments: ------------------------------------------------------------------------ [2004-05-12 22:12:35] [EMAIL PROTECTED] Your compiler is segfaulting, which can not be caused by a bug in PHP. ------------------------------------------------------------------------ [2004-05-12 15:34:44] rehanann at kfupm dot edu dot sa Description: ------------ Haa, I hope php will work in near future I compile with apache and mysql. please provide the solution. compilition option are. ./configure --disable-inline-optimization --with-apxs2=/usr/local/apache2/bin/apxs --with-ftp --with-pear --with-mysql=/u sr/local/mysql --enable-shared --with-trans-sid --enable-mod_charset --enable-mysql --enable-ftp --with-imap-ssl=/usr/local/ ssl --with-ssl --enable-ssl Reproduce code: --------------- /tmp/horde/php/Zend/zend_hash.h:264: invalid lvalue in assignment /tmp/horde/php/Zend/zend_hash.h:265: case label not within a switch statement /tmp/horde/php/Zend/zend_hash.h:265: invalid operands to binary << /tmp/horde/php/Zend/zend_hash.h:265: wrong type argument to increment /tmp/horde/php/Zend/zend_hash.h:265: invalid lvalue in assignment /tmp/horde/php/Zend/zend_hash.h:265: break statement not within loop or switch /tmp/horde/php/Zend/zend_hash.h:266: case label not within a switch statement /tmp/horde/php/Zend/zend_hash.h:266: break statement not within loop or switch /tmp/horde/php/Zend/zend_hash.h:269: warning: return makes integer from pointer without a cast /tmp/horde/php/Zend/zend_hash.h: At top level: /tmp/horde/php/Zend/zend_hash.h:273: parse error before `uint' /tmp/horde/php/Zend/zend_hash.h:273: `zend_hash_func' declared as function returning a function /tmp/horde/php/Zend/zend_hash.h:326: parse error before `*' /tmp/horde/php/Zend/zend_hash.h: In function `zend_symtable_update': /tmp/horde/php/Zend/zend_hash.h:328: `nKeyLength' undeclared (first use in this function) gcc: Internal compiler error: program cc1 got fatal signal 11 make: 1254-004 The error code from the last command is 1. Expected result: ---------------- should work with apache and mysql. Actual result: -------------- ERROR!. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28370&edit=1