Bug #63182 [NEW]: make install to INSTALL_ROOT fails

From: Date: Fri, 28 Sep 2012 20:22:36 +0000
Subject: Bug #63182 [NEW]: make install to INSTALL_ROOT fails
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173788@lists.php.net to get a copy of this message
From: mamfelt at gmail dot com Operating system: AIX PHP version: 5.3.17 Package: *General Issues Bug Type: Bug Bug description:make install to INSTALL_ROOT fails Description: ------------ Trying to get php installed to a temporary directory to create a package. Defined both DESTDIR and INSTALL_ROOT to /var/tmp/root/php-5.3.17.0 Directory is empty at start; /opt/httpd/* is installed Let's assume that the bug is with /var/httpd/build/instdso.sh - I am hoping php will know 'faster' what is expected, and how/what I can do to debug it. Note (see results below) - Nothing has been copied to INSTALL_ROOT, but the directories have been made. Neither has anything been added to /opt/httpd/libexec/. Test script: --------------- root@x104:[/data/prj/php/php-5.3.17]make INSTALL_ROOT=/var/tmp/root/php-5.3.17.0 install Expected result: ---------------- a completed installation Actual result: -------------- root@x104:[/data/prj/php/php-5.3.17]make INSTALL_ROOT=/var/tmp/root/php-5.3.17.0 install Installing PHP SAPI module: apache2handler /var/httpd/build/instdso.sh SH_LIBTOOL='/var/apr/build-1/libtool' libphp5.la /var/tmp/root/php-5.3.17.0/opt/httpd/libexec rm -f /var/tmp/root/php-5.3.17.0/opt/httpd/libexec/libphp5.so /var/apr/build-1/libtool --mode=install cp libphp5.la /var/tmp/root/php-5.3.17.0/opt/httpd/libexec/ libtool: install: cp .libs/libphp5.a /var/tmp/root/php-5.3.17.0/opt/httpd/libexec/libphp5.a libtool: install: cp .libs/libphp5.lai /var/tmp/root/php-5.3.17.0/opt/httpd/libexec/libphp5.la libtool: install: warning: remember to run `libtool --finish /data/prj/php/php-5.3.17/libs' chmod 755 /var/tmp/root/php-5.3.17.0/opt/httpd/libexec/libphp5.so chmod: cannot access `/var/tmp/root/php-5.3.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: *** [install-sapi] Error 1 root@x104:[/data/prj/php/php-5.3.17]find . -name libphp5.so ./.libs/libphp5.so root@x104:[/data/prj/php/php-5.3.17]ls -lR /var/tmp/root/php*/opt /var/tmp/root/php-5.3.17.0/opt: total 0 drwxr-xr-x 2 root system 256 Sep 28 22:05 bin drwxr-xr-x 3 root system 256 Sep 28 22:05 httpd /var/tmp/root/php-5.3.17.0/opt/bin: total 0 /var/tmp/root/php-5.3.17.0/opt/httpd: total 0 drwxr-xr-x 2 root system 256 Sep 28 22:07 libexec /var/tmp/root/php-5.3.17.0/opt/httpd/libexec: total 0 root@x104:[/data/prj/php/php-5.3.17]type install install is /opt/bin/install root@x104:[/data/prj/php/php-5.3.17]lslpp -w /opt/bin/install File Fileset Type ---------------------------------------------------------------------------- /opt/bin/install aixtools.coreutils.rte File root@x104:[/data/prj/php/php-5.3.17] -- Edit bug report at https://bugs.php.net/bug.php?id=63182&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63182&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63182&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63182&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63182&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63182&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63182&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63182&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63182&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63182&r=support Expected behavior: https://bugs.php.net/fix.php?id=63182&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63182&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63182&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63182&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63182&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63182&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63182&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63182&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63182&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63182&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63182&r=mysqlcfg

« previous php.bugs (#173788) next »