php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67888 make install fails -> cp: cannot stat sapi/cli/php.1: No such file
Submitted: 2014-08-22 15:12 UTC Modified: 2016-08-25 10:03 UTC
Votes:5
Avg. Score:4.6 ± 0.5
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:3 (75.0%)
From: pgodel at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: Compile Failure
PHP Version: 5.4.32 OS: CentOS/Debian/Ubuntu
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pgodel at gmail dot com
New email:
PHP Version: OS:

 

 [2014-08-22 15:12 UTC] pgodel at gmail dot com
Description:
------------
Trying to compile/make install fails with the following error:

cp: cannot stat `sapi/cli/php.1': No such file or directory
make: *** [install-cli] Error 1

There is a similar report for PHP 5.5 which appears to have been fixed but the problem persists in PHP 5.4.32:
https://bugs.php.net/bug.php?id=66842

The issue appears to be the following line in Makefile.global:

find . -name \*.1 | xargs rm -f

After commenting this line, the issue goes away. This line is not present in PHP 5.5.16


Expected result:
----------------
Should be able to compile and install.

Actual result:
--------------
Compile failure upon make install.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-25 10:03 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2016-08-25 10:03 UTC] cmb@php.net
This issue should probably have been fixed for PHP 5.4 as well,
but now it's too late since that version had been EOL'd long ago.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC