Bug #66842 [Com]: make install fails -> cp: cannot stat sapi/cli/php.1: No such file

From: Date: Sat, 08 Mar 2014 00:09:46 +0000
Subject: Bug #66842 [Com]: make install fails -> cp: cannot stat sapi/cli/php.1: No such file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184615@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66842&edit=1 ID: 66842 Comment by: barry dot jaspan at acquia dot com Reported by: lists at iezzi dot ch Summary: make install fails -> cp: cannot stat sapi/cli/php.1: No such file Status: Open Type: Bug Package: Compile Failure Operating System: Debian Wheezy 7.4 PHP Version: 5.5.10 Block user comment: N Private report: N New Comment: Reproduced on Ubuntu 10.04 and 12.04 with PHP 5.5.10. + wget http://us1.php.net/distributions/php-5.5.10.tar.bz2 + ./buildconf --force Forcing buildconf Removing configure caches buildconf: checking installation... buildconf: autoconf version 2.65 (ok) rebuilding aclocal.m4 rebuilding configure rebuilding main/php_config.h.in + ./configure --enable-cli --with-config-file-path=/usr/local/php5.5/etc/cli --with-config-file-scan-dir=/usr/local/php5.5/etc/cli/conf.d --prefix=/usr/local/php5.5 --enable-bcmath --with-gmp --with-bz2=/usr --enable-calendar --with-curl --enable-dba --with-db4 --enable-exif --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr --enable-ftp --with-gettext --with-imap --with-kerberos --with-imap-ssl --enable-inline-optimization --with-ldap --with-ldap-sasl --with-openssl=/usr --enable-mbstring --enable-mbregex --with-mcrypt --with-mhash --with-mssql --with-mysql --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysqli=/usr/bin/mysql_config --enable-pcntl --with-pcre-regex --with-pgsql --with-pdo-mysql --with-pdo-pgsql --with-pdo-dblib --with-pspell=/usr --with-readline --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-tidy --with-t1lib=/usr --enable-wddx --enable-xml --with-xmlrpc --with-xs! l --with-xpm-dir=/usr --enable-zip --with-zlib --with-libdir=/lib ... much output removed ... Build complete. Don't forget to run 'make test'. + make install Installing shared extensions: /usr/local/php5.5/lib/php/extensions/no-debug-non-zts-20121212/ Installing PHP CLI binary: /usr/local/php5.5/bin/ Installing PHP CLI man page: /usr/local/php5.5/php/man/man1/ cp: cannot stat `sapi/cli/php.1': No such file or directory make: *** [install-cli] Error 1 Previous Comments: ------------------------------------------------------------------------ [2014-03-07 10:19:36] lists at iezzi dot ch some additional information: --snip-- # make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-pc-linux-gnu --snip-- --snip-- # gcc --version gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --snip-- --snip-- # ld --version GNU ld (GNU Binutils for Debian) 2.22 Copyright 2011 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. --snip-- ------------------------------------------------------------------------ [2014-03-07 10:11:28] lists at iezzi dot ch Description: ------------ Both compilation of PHP 5.5.10 and 5.4.26 fail upon 'make install': --snip-- ./configure --prefix=/opt/php/5.5.10 --with-config-file-path=/etc/php55 --with-pear=/usr/share/php --with-imap --enable-ftp --enable-exif --with-xsl --enable-soap --disable-rpath --enable-calendar --with-gettext --enable-mbstring --enable-sockets --enable-wddx --enable-sysvsem --enable-sysvshm --disable-debug --enable-bcmath --enable-ctype --enable-dba --enable-intl --with-readline --with-iconv --with-bz2 --disable-static --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-imap-ssl --with-kerberos --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib --enable-zip --with-curl --with-mhash --enable-gd-native-ttf --with-freetype-dir --with-t1lib --with-layout=GNU --with-pcre-regex --enable-sysvmsg --with-xmlrpc --with-gmp --with-mm --with-mcrypt --with-zlib-dir=/usr --with-openssl=/usr --enable-shmop --enable-tokenizer --with-ldap=/usr --with-libdir=/lib/x86_64-linux-gnu --snip-- --snip-- Installing shared extensions: /opt/php/5.5.10/lib/php/20121212/ Installing PHP CLI binary: /opt/php/5.5.10/bin/ Installing PHP CLI man page: /opt/php/5.5.10/share/man/man1/ cp: cannot stat `sapi/cli/php.1': No such file or directory make: *** [install-cli] Error 1 --snip-- Directory listing of sapi/cli/... --snip-- # ls -lah sapi/cli/ total 44M drwxr-xr-x 4 1001 1001 4.0K Mar 7 10:55 . drwxr-xr-x 24 1001 1001 4.0K Mar 5 11:18 .. -rw-r--r-- 1 1001 1001 1.9K Mar 5 11:18 cli.h -rw-r--r-- 1 1001 1001 56 Mar 5 11:18 cli_win32.c -rw-r--r-- 1 1001 1001 3.3K Mar 5 11:18 config.m4 -rw-r--r-- 1 1001 1001 715 Mar 5 11:18 config.w32 -rw-r--r-- 1 1001 1001 88 Mar 5 11:18 CREDITS drwxr-xr-x 2 root root 4.0K Mar 7 10:54 .libs -rw-r--r-- 1 1001 1001 590 Mar 5 11:18 Makefile.frag -rwxr-xr-x 1 root root 43M Mar 7 10:55 php -rw-r--r-- 1 1001 1001 9.4K Mar 5 11:18 php.1.in -rw-r--r-- 1 1001 1001 39K Mar 5 11:18 php_cli.c -rw-r--r-- 1 root root 321 Mar 7 10:54 php_cli.lo -rw-r--r-- 1 root root 177K Mar 7 10:54 php_cli.o -rw-r--r-- 1 1001 1001 2.6K Mar 5 11:18 php_cli_process_title.c -rw-r--r-- 1 1001 1001 1.6K Mar 5 11:18 php_cli_process_title.h -rw-r--r-- 1 root root 363 Mar 7 10:54 php_cli_process_title.lo -rw-r--r-- 1 root root 40K Mar 7 10:54 php_cli_process_title.o -rw-r--r-- 1 1001 1001 73K Mar 5 11:18 php_cli_server.c -rw-r--r-- 1 1001 1001 1.9K Mar 5 11:18 php_cli_server.h -rw-r--r-- 1 root root 342 Mar 7 10:54 php_cli_server.lo -rw-r--r-- 1 root root 412K Mar 7 10:54 php_cli_server.o -rw-r--r-- 1 1001 1001 45K Mar 5 11:18 php_http_parser.c -rw-r--r-- 1 1001 1001 5.3K Mar 5 11:18 php_http_parser.h -rw-r--r-- 1 root root 345 Mar 7 10:54 php_http_parser.lo -rw-r--r-- 1 root root 55K Mar 7 10:54 php_http_parser.o -rw-r--r-- 1 1001 1001 13K Mar 5 11:18 ps_title.c -rw-r--r-- 1 1001 1001 1.7K Mar 5 11:18 ps_title.h -rw-r--r-- 1 root root 324 Mar 7 10:54 ps_title.lo -rw-r--r-- 1 root root 16K Mar 7 10:54 ps_title.o -rw-r--r-- 1 1001 1001 828 Mar 5 11:18 README drwxr-xr-x 2 1001 1001 4.0K Mar 5 11:18 tests -rw-r--r-- 1 1001 1001 7 Mar 5 11:18 TODO --snip-- Expected result: ---------------- Should be able to compile. Actual result: -------------- Compile failure upon make install. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66842&edit=1

« previous php.bugs (#184615) next »