|  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
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-08-22 15:12 UTC] pgodel at gmail dot com
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:

The issue appears to be the following line in

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-25 10:03 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2016-08-25 10:03 UTC]
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-2022 The PHP Group
All rights reserved.
Last updated: Mon May 23 23:05:47 2022 UTC