#35888 [Opn->Fbk]: make install --> cp: sapi/cli/php no such file or directory
ID: 35888
Updated by: sniper@php.net
Reported By: scott at abcoa dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: AIX 5.2
PHP Version: 5.1.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-01-03 23:56:58] scott at abcoa dot com
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 this bug report at http://bugs.php.net/?id=35888&edit=1
Thread (13 messages)
- scott at abcoa dot com
- sniper@php.net#35888 [Opn->Fbk]: make install --> cp: sapi/cli/php no such file or directory
- sfletcher at abcoa dot com#35888 [Com]: make install --> cp: sapi/cli/php no such file or directory
- scott at abcoa dot com#35888 [Fbk->Opn]: make install --> cp: sapi/cli/php no such file or directory
- sniper@php.net#35888 [Opn->Fbk]: make install --> cp: sapi/cli/php no such file or directory
- scott at abcoa dot com#35888 [Fbk->Opn]: make install --> cp: sapi/cli/php no such file or directory
- tony2001@php.net#35888 [Opn->Fbk]: make install --> cp: sapi/cli/php no such file or directory
- scott at abcoa dot com#35888 [Fbk->Opn]: make install --> cp: sapi/cli/php no such file or directory
- tony2001@php.net#35888 [Opn->Fbk]: make install --> cp: sapi/cli/php no such file or directory
- scott at abcoa dot com#35888 [Fbk->Opn]: make install --> cp: sapi/cli/php no such file or directory
- sniper@php.net#35888 [Opn->Bgs]: make install --> cp: sapi/cli/php no such file or directory
- scott at abcoa dot com#35888 [Bgs]: make install --> cp: sapi/cli/php no such file or directory
- scott at abcoa dot com#35888 [Bgs]: make install --> cp: sapi/cli/php no such file or directory