Bug #14245 Updated: make install fails on apxs

From: Date: Mon, 03 Dec 2001 21:36:17 +0000
Subject: Bug #14245 Updated: make install fails on apxs
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72390@lists.php.net to get a copy of this message
ID: 14245 User updated by: david-shafer@uiowa.edu Reported By: david-shafer@uiowa.edu Status: Open Bug Type: Apache related Operating System: AIX 4.3.3 Old PHP Version: 4.1.0 PHP Version: 4.1.0RC5 New Comment: Updated PHP Version. Previous Comments: ------------------------------------------------------------------------ [2001-11-28 13:55:17] david-shafer@uiowa.edu I've found a workaround for this problem. If I manually copy .libs/libphp4.so.0 to libs/libphp4.so, it seems to continue okay: # make install ... cp: libs/libphp4.so: A file or directory in the path name does not exist. apxs:Break: Command failed with rc=65536 make: 1254-004 The error code from the last command is 1. ... Stop. # cp .libs/libphp4.so.0 libs/libphp4.so # make install ... Target "install-p" is up to date. Target "install" is up to date. Making install in . /local/www/bin/apxs -i -a -n php4 libs/libphp4.so cp libs/libphp4.so /local/www/libexec/libphp4.so chmod 755 /local/www/libexec/libphp4.so [activating module `php4' in /local/www/conf/httpd.conf] installing shared modules into /local/www/php/lib/php/20010901 Target "install-p" is up to date. ... Target "install" is up to date. # /local/www/bin/apachectl start Target "install" is up to date. Is there some way "make install" can do that copying step automatically? ------------------------------------------------------------------------ [2001-11-27 01:12:43] david-shafer@uiowa.edu Make install fails on "apxs -i i -a -n php4 libs/libphp4.so cp libs/libphp4.so /local/www/libexec/libphp4.so". The libs directory contains libphp4.a and libphp4.la, but not libphp4.so. Compiler: IBM Visual Age C $ export CC="cc_r" $ export CFLAGS="-g -ma" $ ./configure --prefix=/local/www/php \ --with-apxs=/local/www/bin/apxs \ --without-mysql $ make Making all in Zend ... Target "all" is up to date. # /local/www/bin/apachectl stop # /usr/sbin/slibclean # make install Making install in Zend ... Target "install-p" is up to date. Target "install" is up to date. Making install in . /local/www/bin/apxs -i -a -n php4 libs/libphp4.so cp libs/libphp4.so /local/www/libexec/libphp4.so cp: libs/libphp4.so: A file or directory in the path name does not exist. apxs:Break: Command failed with rc=65536 make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. # ls -l libs total 16008 -rw------- 1 root system 4094311 Nov 26 23:53 libphp4.a -rw------- 1 root system 749 Nov 26 23:53 libphp4.la ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14245&edit=1

« previous php.dev (#72390) next »