zoukankan      html  css  js  c++  java
  • 关于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

  • 相关阅读:
    基因id转换
    Trinity的分步运行
    免费的稳定的SVN托管的服务器
    游戏化
    一个华裔男孩在美国的成长之路
    你懂USB和Type-C吗
    ios调试小技巧
    swift开发笔记19
    iOS 3DTouch应用
    iCloud实现APP多设备数据同步
  • 原文地址:https://www.cnblogs.com/wendaobiancheng/p/9171658.html
Copyright © 2011-2022 走看看