关于configure: error: no acceptable C compiler found in $PATH
Linux系统在安装python3的时候报错:
$ ./configure --prefix=/usr/local/python3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for python3.6... no
checking for python3... no
checking for python... python
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... linux
checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/ec2-user/Python-3.6.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
解决方法:
$sudo yum install gcc
过程中输入y
完成安装后再运行
$./configure --prefix=/usr/local/python3
关于configure: error: no acceptable C compiler found in $PATH的更多相关文章
- CentOS上安装软件错误提示:configure: error: no acceptable C compiler found in $PATH
		CentOS上安装软件错误提示:configure: error: no acceptable C compiler found in $PATH 因为是centos linux,默认可以采用yum方 ... 
- Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH
		安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system ... 
- 【linux】Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH
		安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system ... 
- CentOS7.5安装Python3.7报错:configure: error: no acceptable C compiler found in $PATH   --Python3
		1.问题解析 报错信息中有这样一条:configure: error: no acceptable C compiler found in $PATH即:配置错误,在$path中找不到可接受的C编译器 ... 
- 安装Python2.7出现configure: error: no acceptable C compiler found in $PATH错误
		安装Python2.7出现configure: error: no acceptable C compiler found in $PATH错误 安装步骤: 安装依赖 yum groupinstall ... 
- 报错:configure: error: no acceptable C compiler found in $PATH
		运行以下命令报错: ./configure 错误: checking whether to enable maintainer-specific portions of Makefiles... ye ... 
- 报错configure:error: no acceptable C compiler found in $PATH。。
		报错configure:error: no acceptable C compiler found in $PATH.. 查看日志: 出错原因:新安装的linux系统,没有gcc库 解决方案:使用yu ... 
- configure: error: no acceptable C compiler found in $PATH 解决
		在安装keepalived时报错 ./configure --prefix=/usr/local/ccbase/keepalived-2.0.15 && make && ... 
- configure: error: no acceptable C compiler found in $PATH 问题解决
		解决办法: 安装GCC软件套件 [root@localhost ~]# yum install gccLoaded plugins: fastestmirrorLoading mirror speed ... 
随机推荐
- CF1025D Recovering BST
			题意:给定序列,问能否将其构成一颗BST,使得所有gcd(x, fa[x]) > 1 解:看起来是区间DP但是普通的f[l][r]表示不了根,f[l][r][root]又是n4的会超时,怎么办? ... 
- k8s pod的4种网络模式最佳实战(externalIPs )
			[k8s]k8s pod的4种网络模式最佳实战(externalIPs ) hostPort相当于docker run -p 8081:8080,不用创建svc,因此端口只在容器运行的vm ... 
- python的类的继承-接口继承-归一化设计
			1.先在子类本身找,如果子类没有,会去父类找 class Dad: '这个是爸爸类' money=10#Dad类的数据属性 def __init__(self,name): print("爸 ... 
- elementUI 表格分页后台排序记录
			表格代码 <div class="m-table"> <el-table :data="logs" style="width: 10 ... 
- javascript实现的拖拽回放
			这个功能很简单,直接贴代码啊: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "ht ... 
- shell 循环数组
			循环数组 ;i<${#o[*]};i++)) do echo ${o[$i]} done 
- Miller_Rabin 素数测试
			费马定理的逆定理几乎可以用来判断一个数是否为素数,但是有一些数是判断不出来的,因此,Miller_Rabin测试方法对费马的测试过程做了改进,克服其存在的问题. 推理过程如下(摘自维基百科): 摘自另 ... 
- HDU 2521 反素数 模拟题
			解题报告:水题,直接附上代码,只是觉得这题的作者是不是吃饱了饭撑的,反素数的概念跟这题一点关系都没有. #include<cstdio> int judge1(int k) { ; ;i& ... 
- python爬虫-图片批量下载
			# 爬起摄图网的图片批量下载# coding:utf-8 import requests from bs4 import BeautifulSoup from scipy.misc import im ... 
- 「Android 开发」入门笔记
			「Android 开发」入门笔记(界面编程篇) ------每日摘要------ DAY-1: 学习笔记: Android应用结构分析 界面编程与视图(View)组件 布局管理器 问题整理: Andr ... 
