Ubuntu 编译提示 configure: error: no acceptable C compiler found in $PATH

Ubuntu 编译提示 configure: error: no acceptable C compiler found in $PATH_第1张图片
ubuntu

新安装的 Ubuntu 系统在执行 ./configure 编译软件时会提示如下错误消息:

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

这是没有安装 C 编译器,在 Ubuntu 系统下可以执行以下命令来安装 C 编译环境:

sudo apt-get install -y build-essential

完成安装后,再次执行就 OK 了。

你可能感兴趣的:(Ubuntu 编译提示 configure: error: no acceptable C compiler found in $PATH)