./configure: error: C compiler cc is not found 解决方案
2016-05-23 22:14
204 查看
在安装配置nginx时报错:
./configure: error: C compiler cc is not found
确认自己是安装了gcc的。
在网上查了很多资料都不管用。最后解决方法:
whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc
cd /usr/bin/
ls -alh gcc
gcc -> gcc-4.9
sudo ln -s gcc-4.9 cc
问题解决!
感谢zyf大神!
./configure: error: C compiler cc is not found
确认自己是安装了gcc的。
在网上查了很多资料都不管用。最后解决方法:
whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc
cd /usr/bin/
ls -alh gcc
gcc -> gcc-4.9
sudo ln -s gcc-4.9 cc
问题解决!
感谢zyf大神!
相关文章推荐
- HTML5 WebApp开发(二)表格上拉加载更多下拉刷新
- KMP算法
- linux实践——内核编程 基础模块
- 练习32:列表与for循环
- Poj 3752:走迷宫
- python的socket解决死锁的几个方法
- kalilinux安装lantern
- js underscore常用函数定义及用法
- 聊天程序(C++)
- 无限级分类列表
- MapReduce计数器
- 医学统计学 第七章 卡方检验
- SQL数据库设计(二) -- 物理设计
- codeforces 675C
- 【凸包】HDU2108Shape of HDU
- 【BZOJ4199】品酒大会,后缀数组+并查集维护
- bzoj 1009: [HNOI2008]GT考试(AC自动机+矩阵优化dp)
- 高并发金融应用架构优化与平台创新
- 自学android笔记之SwipeRefreshLayout
- Unity 游戏移植到 Windows10