解决了两个小时愣是卡着没动,结果一请大神问题就迎刃而解,怪自己太粗心,一下午差点就被这个问题安排的明明白白,直接上问题:
makeFile时的问题:
checking for OS
+ Linux 3.10.0-327.el7.x86_64 x86_64
checking for C compiler ... not found
./configure: error: C compiler cc is not found
按照安装顺序安装的,先安装了依赖包:
接着再进行一系列的下载安装解压,开始进行makeFile了结果就出幺蛾子了:
1、先是没有权限:
一怒:chown -R userroot .
OK问题1解决了问题2又来了:
2、报上面的错误:
checking for OS
+ Linux 3.10.0-327.el7.x86_64 x86_64
checking for C compiler ... not found
./configure: error: C compiler cc is not found
解决办法:应该都是包没装全
yum -y install make gcc gcc-c++ ncurses-devel
yum -y install gcc
yum install gcc-c++
各种的都试一下
我是第一条就KO掉的
这两篇博客不错,推荐给大家阅读:
http://www.zhimengzhe.com/linux/227794.html
https://blog.csdn.net/xyang81/article/details/51476293