|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-11-27 01:12 UTC] david-shafer at uiowa dot 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
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?I am trying to install PHP 4.1.1 on AIX 4.3.3. I have GNU GCC 3.01 installed $ ./configure --prefix=/usr/local/php \ --with-apxs \ --with-mysql \ --with-zlib $ 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 Any update on resolution to this problem?? or a good workaround? I can not find lilphp4.so.0 as mentioned above.