#19739 [Com]: php-4.2.3 fails to Install with Apache 2.0.42 on AIX 5.1 ML2

From: Date: Sat, 05 Oct 2002 13:42:12 +0000
Subject: #19739 [Com]: php-4.2.3 fails to Install with Apache 2.0.42 on AIX 5.1 ML2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21560@lists.php.net to get a copy of this message
ID: 19739 Comment by: php@thater.net Reported By: php@thater.net Status: Feedback Bug Type: Apache2 related Operating System: AIX 5.1 PHP Version: 4.2.3 New Comment: Latest version (php4-200210050000) fails to configure, debug.log is CONFIGURE: './configure' '--prefix=/home/www/staging/php' '--with-mysql=/usr/local/mysql/' '--with-apxs2=/home/www/staging/httpd/bin/apxs' '--cache-file=guido.log' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/home/www/staging/httpd/include -I$(top_builddir)/Zend -I/usr/local/mysql//include/mysql LDFLAGS: -Wl,-rpath,/usr/local/mysql//lib/mysql -L/usr/local/mysql//lib/mysql LIBS: -lmysqlclient -lz -lcrypt -lm -ldl -lcrypt DLIBS: SAPI: apache2filter PHP_RPATHS: /usr/local/mysql//lib/mysql uname -a: AIX ibm 1 5 00050180C000 gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/mysql//lib/mysql -L/usr/local/mysql//lib/mysql conftest.c -lmysqlclient -lz -lcrypt -lm -ldl -lcrypt 1>&5 Could not load program ./conftest: Dependent module libc.a(shr.o) could not be loaded. Could not load module libc.a(shr.o). Error was: No such file or directory Previous Comments: ------------------------------------------------------------------------ [2002-10-03 14:04:47] sander@php.net You'd better not mess with the Makefile - you probably forgot something and that ruins the build process. Why did you need to? What did go wrong during configure? Look in config.cache for more information. ------------------------------------------------------------------------ [2002-10-03 13:08:48] php@thater.net PS: Before doing 'make install' i modified the Makefile to point to 'httpd/modules', then did a 'make', then 'make install', which lead to the errors-messages related to libphp ------------------------------------------------------------------------ [2002-10-03 13:02:34] php@thater.net I tried the latest release (php4-200210030900), same error ... [www@ibm php4-200210030900]$ make install Installing PHP SAPI module /home/www/staging/www/build/instdso.sh SH_LIBTOOL='/home/www/staging/www/build/libtool' libphp4.la /home/www/staging/httpd/modules rm -f /home/www/staging/httpd/modules/libphp4.so /home/www/staging/www/build/libtool --mode=install cp libphp4.la /home/www/staging/httpd/modules/ cp .libs/libphp4.lai /home/www/staging/httpd/modules/libphp4.la cp .libs/libphp4.a /home/www/staging/httpd/modules/libphp4.a ranlib /home/www/staging/httpd/modules/libphp4.a chmod 644 /home/www/staging/httpd/modules/libphp4.a libtool: install: warning: remember to run `libtool --finish /home/www/wrk/php4-200210030900/libs' mv: 0653-401 Cannot rename /home/www/staging/httpd/modules/ to /home/www/staging/httpd/modules/libphp4.so: A system call received a parameter that is not valid. chmod 755 /home/www/staging/httpd/modules/libphp4.so chmod: /home/www/staging/httpd/modules/libphp4.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 ... plus an additional one: configure didn't figure out correctly where httpd.exp is (in httpd/modules), it tries to find it in httpd/bin). I haven't checked wether this problem has been reported elsewhere. If not, I will open an additional case tomorror. Thanks for you support! Guido ------------------------------------------------------------------------ [2002-10-03 11:18:10] sander@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-03 11:16:45] php@thater.net Dear all, php-4.2.3 fails to install with the following error: make[1]: Entering directory `/home/www/wrk/php-4.2.3' /home/www/staging/httpd/bin/apxs -i -a -n php4 libphp4.la /home/www/staging/www/build/instdso.sh SH_LIBTOOL='/home/www/staging/www/build/libtool' libphp4.la /home/www/staging/httpd/modules rm -f /home/www/staging/httpd/modules/libphp4.so /home/www/staging/www/build/libtool --mode=install cp libphp4.la /home/www/staging/httpd/modules/ cp .libs/libphp4.lai /home/www/staging/httpd/modules/libphp4.la cp .libs/libphp4.a /home/www/staging/httpd/modules/libphp4.a ranlib /home/www/staging/httpd/modules/libphp4.a chmod 644 /home/www/staging/httpd/modules/libphp4.a libtool: install: warning: remember to run `libtool --finish /home/www/wrk/php-4.2.3/libs' mv: 0653-401 Cannot rename /home/www/staging/httpd/modules/ to /home/www/staging/httpd/modules/libphp4.so: A system call received a parameter that is not valid. chmod 755 /home/www/staging/httpd/modules/libphp4.so chmod: /home/www/staging/httpd/modules/libphp4.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 I am using AIX 5.1 ML 2, gcc-3.2, binutils-2.13 and Apache-2.0.42 Configure php-4.2.3 using /configure --prefix=/home/www/staging/php --with-mysql=/us r/local/mysql/ --with-apxs2=/home/www/staging/httpd/bin/apxs Any help highly welcomed Guido ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19739&edit=1

« previous php.bugs (#21560) next »