Ubuntu 编译提示 configure: error: no acceptable C compiler found in $PATH
如果你安装的 Ubuntu 系统在执行 ./configure 编译软件时会提示如下错误消息:
帮忙注册chatgpt帐号
帮忙注册chatgpt帐号
帮忙注册chatgpt帐号
configure: error: no acceptable C compiler found in $PATH
这是因为没有安装 C 编译器的原因,在 Ubuntu 系统下可以执行以下命令来安装 C 编译环境:
sudo apt-get install -y build-essential
完成安装后,你再次执行它就可以了。