文章内容

2023/2/16 9:54:41,作 者: 黄兵

Ubuntu C compiler cc is not found

今天在 Ubuntu 20.04 服务器安装 Nginx http/3 支持的时候,出现了错误,具体错误内容:

./configure: error: C compiler cc is not found

出现问题的原因:

当您的服务器上没有安装 C/GCC 编译器时,通常会发生这种情况。您所要做的就是安装gcc以解决此问题。

解决方案:

运行如下命令:

sudo apt-get install build-essential


参考资料:

1、configure: error: C compiler cc is not found

2、C compiler not found, Ubuntu


黄兵个人博客原创。

转载请注明出处:黄兵个人博客 - Ubuntu C compiler cc is not found

分享到:

发表评论

评论列表