This is what I am starting with after php make completes
root@x102:[/data/prj/php/php-5.2.17]ls -l .libs
total 15696
-rwxrwxr-- 1 root system 8110795 Dec 6 15:47 libphp5.a
-rwxrwxr-- 1 root system 94542 Dec 6 15:47 libphp5.exp
lrwxrwxrwx 1 root system 13 Dec 6 15:47 libphp5.la -> ../libphp5.la
-rwxrwxr-- 1 root system 1049 Dec 6 15:47 libphp5.lai
-rwxrwxr-- 1 root system 7846586 Dec 6 15:47 libphp5.so
The end result of make install is:
root@x102:[/data/prj/php/php-5.2.17]make V=0 install
INSTALL_ROOT=/var/tmp/root/php-5.2.17.0
Installing PHP SAPI module: apache2handler
/data/prj/php/php-5.2.17/build/shtool mkdir -p
'/var/tmp/root/php-5.2.17.0/opt/httpd/libexec' &&
/data/prj/php/php-5.2.17/build/shtool mkdir -p
'/var/tmp/root/php-5.2.17.0/var/httpd/etc' && /opt/httpd/sbin/apxs -S
LIBEXECDIR='/var/tmp/root/php-5.2.17.0/opt/httpd/libexec' -S
SYSCONFDIR='/var/tmp/root/php-5.2.17.0/var/httpd/etc' -i -a -n php5
libphp5.la
/var/httpd/build/instdso.sh SH_LIBTOOL='/var/apr/build-1/libtool'
libphp5.la/var/tmp/root/php-5.2.17.0/opt/httpd/libexec
rm -f /var/tmp/root/php-5.2.17.0/opt/httpd/libexec/libphp5.so
/var/apr/build-1/libtool --mode=install cp
libphp5.la/var/tmp/root/php-5.2.17.0/opt/httpd/libexec/
libtool: install: cp .libs/libphp5.a
/var/tmp/root/php-5.2.17.0/opt/httpd/libexec/libphp5.a
libtool: install: cp .libs/libphp5.lai
/var/tmp/root/php-5.2.17.0/opt/httpd/libexec/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/data/prj/php/php-5.2.17/libs'
## added command to list contents of TARGETDIR after libtool command
/usr/bin/ls -l /var/tmp/root/php-5.2.17.0/opt/httpd/libexec
total 15864
-rwxr-xr-- 1 root system 8110795 May 04 14:53 libphp5.a
-rwxr-xr-- 1 root system 1049 May 04 14:53 libphp5.la
chmod 755 /var/tmp/root/php-5.2.17.0/opt/httpd/libexec/libphp5.so
chmod: cannot access
`/var/tmp/root/php-5.2.17.0/opt/httpd/libexec/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.
I am wondering if the error is in APR and the way it creates or uses the
libtool command - or is it a problem with libtool - as some files get
copied, but not the .so file which exists.
1) Who should get a bug-report?
2) Suggestions for correction - other that just hard coding a hack: cp
.libs/libphp5.so $TARGETDIR
regards,
Michael Felt