Bug #12063 Updated: "make install" fails on cp lib/libphp4.so
| From: | sniper@php.net | Date: | Wed, 03 Jul 2002 03:53:45 +0000 |
| Subject: | Bug #12063 Updated: "make install" fails on cp lib/libphp4.so | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12923@lists.php.net to get a copy of this message | ||
ID: 12063
Updated by: sniper@php.net
Reported By: david-shafer@uiowa.edu
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: AIX
PHP Version: 4.3.0-dev
New Comment:
It's been a year now..can you check if this same issue
happens with current CVS HEAD?
Previous Comments:
------------------------------------------------------------------------
[2002-07-02 23:51:40] sniper@php.net
correct version..
------------------------------------------------------------------------
[2001-07-11 16:33:40] david-shafer@uiowa.edu
Yes, Apache is stopped when I run make install. If Apache was running,
then slibclean wouldn't fix the problem, because the load and use
counts wouldn't be 0.
------------------------------------------------------------------------
[2001-07-11 16:29:22] derick@php.net
You should stop your running apache before doing make install. If you
did that, reopen this report if it still fails.
------------------------------------------------------------------------
[2001-07-11 14:33:44] dshafer@php.net
This error occurs because AIX doesn't immediately unload objects when
they're no longer being used. One option is to delete the target file
before writing it. However, the more correct option is to run
"/usr/sbin/slibclean" prior to "cp libs/libphp4.so ...". That will
unload all object files with load and use counts of 0.
------------------------------------------------------------------------
[2001-07-11 14:30:48] david-shafer@uiowa.edu
Running "make install" produces the following output:
...
Making install in .
/local/php/src/php4/build/shtool mkdir -p "/local/www/libexec"
&& /local/www/bin/apxs -S LIBEXECDIR="/local/www/libexec" -i -a -n php4
libs/libphp4.so
cp libs/libphp4.so /local/www/libexec/libphp4.so
cp: /local/www/libexec/libphp4.so: Cannot open or remove a file
containing a running program.
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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12063&edit=1