关于configure: error: no acceptable C compiler found in $PATH

Linux系统在安装python3的时候报错:

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px "Andale Mono"; color: #75b900 }
span.s1 { }

$ ./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

解决方法:

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px "Andale Mono"; color: #75b900 }
span.s1 { }

$sudo yum install gcc

过程中输入y

完成安装后再运行

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px "Andale Mono"; color: #75b900 }
span.s1 { }

$./configure --prefix=/usr/local/python3

原文地址:https://www.cnblogs.com/wendaobiancheng/p/9171658.html

时间: 2024-10-11 12:18:53

关于configure: error: no acceptable C compiler found in $PATH的相关文章

configure: error: no acceptable C compiler found in $PATH

今天源码安装mysql遇到报错: checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for style of include used by make... GNU checking for gcc... no checking for cc... no checking for cl.e

CentOS上安装软件错误提示:configure: error: no acceptable C compiler found in $PATH

configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.你的机器里没有安装任何C语言编译器,可以安装gcc. 可以在安装盘里找到gcc相关的包进行安装,不过会比较繁琐,因为关联的包会比较多. 如果可以上网,使用yum安装是比较好的选择: yum install gcc因为是centos linux,默认可以采用yum方式安装,则采用如下命令安装gcc编译器即可:# yu

centOS升级python2至python3过程中遇到configure: error: no acceptable C compiler found in $PATH

今天安装了一个centos 6.9  ,查看默认python版本是2.6,所以准备升级,按着以前在ubuntu上的升级步骤: (1)  wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tgz (2)  tar -xzvf Python-3.3.0.tgz (3)  mkdir /usr/local/python (4) ./configure --prefix=/usr/local/python3 在第四步出现了一个提示: 提示:

configure: error: no acceptable C compiler found in $PATH 问题解决

今天在百度云的系统上安装python3 编译的时候提示 configure: error: no acceptable C compiler found in $PATH 问题解决 网上查了是 是缺少gcc yum install gcc 然后继续编译就可以了 原文地址:https://www.cnblogs.com/baker95935/p/9816310.html

报错configure:error: no acceptable C compiler found in $PATH。。

查看日志: 出错原因:新安装的linux系统,没有gcc库 解决方案:使用yum install gcc,然后发现另外个坑,没有gcc 接着解决没有gcc: http://www.cnblogs.com/dieyaxianju/p/7582270.html

configure error no acceptable C compiler found in

[root@localhost ~]# cd msmtp-1.4.20 [root@localhost msmtp-1.4.20]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatib

nodejs安装错误Node.js configure error: No acceptable C compiler found!解决

Node.js configure error: No acceptable C compiler found! Please make sure you have a C compiler installed on your system and/or consider adjusting the CC environment variable if you installed it in a non-standard prefix. 检查两点: 1.你是否有C编译工具被安装在你的系统中,gc

./configure源码包时“no acceptable C compiler found in $PATH”

[[email protected] httpd-2.2.31]# ./configure --prefix=/usr/local/apache2checking for chosen layout... Apachechecking for working mkdir -p... yeschecking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking tar

安装apr出错 no acceptable C compiler found in $PATH

[[email protected] apr-1.6.3]# ./configure --prefix=/usr/local/apr checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu Configuring APR library Platform: