继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

php5.4 安装出现问题

Qyouu
关注TA
已关注
手记 449
粉丝 87
获赞 413

在安装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.

打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP