checking for fcc ….no checking for cc .. no

CentOS源码编译出现如下提示,提示缺少gcc cc cl.exe

checking for fcc ....no checking for cc .. no

checking for fcc ....no checking for cc .. no

checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/libsodium-1.0.17':
configure: error: no acceptable C compiler found in $PATH

 

解决方案:yum install -y gcc glibc

但是,安装的过程中出现如下错误

checking for fcc ....no checking for cc .. no

Error: Package: glibc-headers-2.17-260.el7_6.4.x86_64 (updates)
Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.17-260.el7_6.4.x86_64 (updates)
Requires: kernel-headers

解决办法:wget http://vault.centos.org/5.7/os/x86_64/CentOS/kernel-headers-2.6.18-274.el5.x86_64.rpm

rpm -ivh kernel-headers-2.6.18-274.el5.x86_64.rpm

本文作者:𝙕𝙆𝘾𝙊𝙄

文章名称:checking for fcc ….no checking for cc .. no

文章链接:https://www.zkcoi.com/365up/program/238.html

本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
𝙕𝙆𝘾𝙊𝙄𝙕𝙆𝘾𝙊𝙄
上一篇 2019年4月24日 上午11:29
下一篇 2019年6月3日 上午9:45

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

私聊博主

立即联系
一般有空就回复

qrcode_web

微信扫码联系我

分享本页
返回顶部