From: scott at abcoa dot com Operating system: AIX 5.2 PHP version: 5.1.1 PHP Bug Type: Compile Failure Bug description: make install --> cp: sapi/cli/php no such file or directory
Description: ------------ Got a make install failure. The configure command is --snip-- ./configure --with-apxs2=../../apache2/bin/apxs --without-mysql --with-unixODBC --with-openssl --with-curl --disable-xml --disable-libxml --disable-dom --disable-simplexml --without-pear --enable-track-vars --enable-ftp --enable-sockets --snip-- --snip-- #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 /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 /usr/local/src/php-5.1.1/libs' chmod 755 /usr/local/apache2/modules/libphp5.so [activating module `php5' in /usr/local/apache2/conf/httpd.conf] Installing PHP CLI binary: /usr/local/bin/ cp: sapi/cli/php: No such file or directory make: The error code from the last command is 1. Stop. # --snip-- Result from the ls -la command... --snip-- #ls -la sapi/cli/ total 264 drwxr-xr-x 3 1003 1003 4096 Jan 3 16:14 . drwxr-xr-x 22 1003 1003 4096 Nov 27 15:19 .. drwxr-xr-x 2 root system 256 Jan 3 16:14 .libs -rw-r--r-- 1 1003 1003 56 Aug 11 16:45 CREDITS -rw-r--r-- 1 1003 1003 436 Oct 13 06:02 Makefile.frag -rw-r--r-- 1 1003 1003 845 May 29 2003 README -rw-r--r-- 1 1003 1003 7 Mar 30 2003 TODO -rw-r--r-- 1 1003 1003 56 Jan 13 2004 cli_win32.c -rw-r--r-- 1 1003 1003 2158 Jul 7 2005 config.m4 -rw-r--r-- 1 1003 1003 551 May 14 2005 config.w32 -rw-r--r-- 1 1003 1003 4235 Aug 3 07:12 getopt.c -rw-r--r-- 1 root system 312 Jan 3 16:14 getopt.lo -rw-r--r-- 1 root system 9118 Jan 3 15:35 php.1 -rw-r--r-- 1 1003 1003 9126 Aug 3 07:12 php.1.in -rw-r--r-- 1 1003 1003 32086 Nov 17 03:37 php_cli.c -rw-r--r-- 1 root system 314 Jan 3 16:14 php_cli.lo -rw-r--r-- 1 1003 1003 10787 Nov 17 03:37 php_cli_readline.c -rw-r--r-- 1 1003 1003 1371 Aug 3 07:12 php_cli_readline.h -rw-r--r-- 1 root system 332 Jan 3 16:14 php_cli_readline.lo -rw-r--r-- 1 1003 1003 1797 Aug 3 07:12 php_getopt.h # --snip-- Reproduce code: --------------- Do the usual configure, make, make install command then the error will popup. Expected result: ---------------- Should be able to compile. Actual result: -------------- Compile failure. -- Edit bug report at http://bugs.php.net/?id=35888&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35888&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35888&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35888&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35888&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35888&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35888&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35888&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35888&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35888&r=support Expected behavior: http://bugs.php.net/fix.php?id=35888&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35888&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35888&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35888&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35888&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35888&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35888&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35888&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35888&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35888&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35888&r=mysqlcfg