ID: 28370 Comment by: Bjorn dot Wiberg at its dot uu dot se Reported By: rehanann at kfupm dot edu dot sa Status: Open Bug Type: Compile Failure Operating System: Aix 5.2 ML 2 PHP Version: 5CVS-2004-05-12 (dev) New Comment:
Please see http://bugs.php.net/bug.php?id=30160 regarding the *.so files not being found; the error is most likely in the libphp*.la file in the PHP top directory containing references to libphp*.a instead of libphp*.so. Best regards, Björn Previous Comments: ------------------------------------------------------------------------ [2004-07-15 01:28:25] bogletree at thedotcomin dot com I am getting the same error also on AIX 5.2 when I run 'make install' chmod 755 /usr/local/apache2/modules/libphp4.so chmod: /usr/local/apache2/modules/libphp4.so: A file or directory in the path name does not exist. ------------------------------------ Also, no files are put in the /usr/local/php directory. I found the libphp4.so file in the .libs directory. Apache2 will then load and run fine for simple php commands. For scripts that require the php include files they bomb. Got Apache2.0.49 to compile fine though. ------------------------------------------------------------------------ [2004-05-28 13:40:38] rehanann at kfupm dot edu dot sa No I try with your solution the result is same, This is PHP error after compilition and build the PHP binary there is no confusion for make install to generate any error if we did any mistake in compilition and build the binary the PHP will not work but its should install, this is the PHP bug. Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules rm -f /usr/local/apache2/modules/libphp4.so /usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/ cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /tmp/horde/php-4.3.5/libs' chmod 755 /usr/local/apache2/modules/libphp4.so chmod: /usr/local/apache2/modules/libphp4.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . make: 1254-004 The error code from the last command is 1. Stop. ------------------------------------------------------------------------ [2004-05-26 16:59:23] Bjorn dot Wiberg at its dot uu dot se 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 ------------------------------------------------------------------------ [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