您的位置:首页 > 运维架构 > Linux

Linux 编译一个东西提示:no acceptable C compiler

2016-07-01 12:28 633 查看

Linux 编译一个东西提示:no acceptable C compiler found in $PATH when installing python

虽然知道这个是缺少gcc,但是觉得配置的路径不对。后来查了一下,才明白是没有装development tools。具体答案:

gcc compiler is not in your $PATH

it means either you dont have gcc installed or it's not in
your $PATH variable

to install gcc use this: (run as root)

redhat base:

yum groupinstall "Development tools"
Debian base:

apt-get install build-essential
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: