编译php5.4的时候出现错误----configure: error: in `/usr/local/src/php540/php-5.4.0':
2016-03-06 12:52
746 查看
错误如下: checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for cc... cc checking whether the C compiler works... no configure: error: in `/usr/local/src/php540/php-5.4.0': configure: error: C compiler cannot create executables See `config.log' for more details. 分析,百度了很长时间终于发现,原来是缺少gcc 所以: yum install -y gcc就可以了
相关文章推荐
- thinkphp-2
- phpmyadmin创建表和id user自增长的设置
- 在嵌入式设备上设定ftp服务器的家目录
- windows下原生安装php开发环境
- Mac下用brew搭建PHP(LNMP/LAMP)开发环境
- 构造函数construct和ThinkPHP中initialize的不同
- 滴滴短信接入THINKPHP
- php中函数
- Thinkphp调用ajaxReturn中文乱码解决办法
- PHP深度学习参考地址
- 在Yii2中使用Pjax导致Yii2内联脚本载入失败的原因分析
- 插入排序法 php
- Sublime test配置php运行环境
- dantiao.php文件提示错误
- php-fpm
- 在Yii2中使用Pjax导致Yii2内联脚本载入失败的原因分析
- 【东臣php】mvc
- 【嘉兴东臣php】PHP MVC MVP MOVE
- thinkphp自定义模板标签(一)
- thinkphp自定义模板标签(二)