首页 > Windows开发 > 详细

php5.4 安装出现问题cp: cannot stat `sapi/cli/php.1': No such file or directory

时间:2016-08-15 22:46:45      阅读:1371      评论:0      收藏:0      [点我收藏+]

在安装php5.4时出现下面的错误:

       当make正常,但是使用make install出现错误:cp: cannot stat `sapi/cli/php.1‘: No such file or directory


解决的办法如下:

   make install fails -> cp: cannot stat sapi/cli/php.1: No such file

 So after doing some research I found the solution so just note to keep in mind if the same problem is encountered again.

 The fixt that worked was using the following commands:

  

find . -name ‘*.1‘ > /tmp/php-1.lst.$$

tar -cf /tmp/php-1.tar.$$ -T /tmp/php-1.lst.$$

  make clean

tar -xf /tmp/php-1.tar.$$

rm /tmp/php-1.tar.$$ /tmp/php-1.lst.$$

then ‘make install‘ should work.

php5.4 安装出现问题cp: cannot stat `sapi/cli/php.1': No such file or directory

原文:http://132408.blog.51cto.com/122408/1838466

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!