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

技术运维CentOS 671

今天在新装的CentOS6系统中编译一个应用出错了

 error: no acceptable C compiler found in $PATH

这个提示很明显,是系统$PATH变量中没有找到可用的C编译器,引起该错误的原因可能是有:1.系统中已经安装了gcc编译器,但是没有将它加入系统变量 2.系统中没有安装,需要重新安装:

Redhat:

yum groupinstall "Development Tools"

Debian:

apt-get install build-essential

Post Comment