|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-22 08:19 UTC] jani@php.net
[2010-03-17 09:51 UTC] mamfelt at acm dot org
[2010-03-17 09:52 UTC] mamfelt at acm dot org
[2010-03-17 09:55 UTC] mamfelt at acm dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 16:00:01 2025 UTC |
Description: ------------ The last part of make install fails, no php5 libraries are installed into /usr/lib/apache2/modules. Further, the file libs/libphp5.so is not built either. Note: regarding the following code: (in /usr/local/apache2/build/instdso.sh) if test "$SYS" = "AIX" then # on AIX, shared libraries remain in storage even when # all processes using them have exited; standard practice # prior to installing a shared library is to rm -f first CMD="rm -f $TARGETDIR/$TARGET_NAME" echo $CMD $CMD || exit $? fi The command you should consider is: slibclean (Shared Library Clean) to cleanup shared memory. Reproduce code: --------------- michael@x054:[/home/michael/prj/php-5.2.4]make install echo '\ \ Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules rm -f /usr/local/apache2/modules/libphp5.so /usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/ cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /home/michael/prj/php-5.2.4/libs' chmod 755 /usr/local/apache2/modules/libphp5.so chmod: /usr/local/apache2/modules/libphp5.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. Expected result: ---------------- The correct files installed in /usr/local/apache2/modules Actual result: -------------- michael@x054:[/home/michael/prj/php-5.2.4]ls -l libs total 41152 -rw-r--r-- 1 root system 21062992 Oct 19 11:16 libphp5.a -rw-r--r-- 1 root system 1209 Oct 19 11:16 libphp5.la michael@x054:[/home/michael/prj/php-5.2.4]ls -l /usr/local/apache2/modules total 984 -rw-r--r-- 1 root system 8951 Oct 19 10:25 httpd.exp -rwxr-xr-x 1 root system 90560 Oct 19 10:26 mod_cgi.so -rwxr-xr-x 1 root system 64654 Oct 19 10:26 mod_headers.so -rwxr-xr-x 1 root system 56795 Oct 19 10:26 mod_info.so -rwxr-xr-x 1 root system 190456 Oct 19 10:27 mod_rewrite.so -rwxr-xr-x 1 root system 40889 Oct 19 10:27 mod_speling.so