当前位置: 移动技术网 > IT编程>软件设计>设计模式 > Ubuntu Server 上在安装Nginx时执行./confgiure后提示:C compiler cc is not found

Ubuntu Server 上在安装Nginx时执行./confgiure后提示:C compiler cc is not found

2019年10月31日  | 移动技术网IT编程  | 我要评论

场景

ubuntu server 16.04 lts上怎样安装下载安装nginx并启动:

https://blog.csdn.net/badao_liumang_qizhi/article/details/102828075

在上面进行安装nginx前配置检查时提示:

checking for c compiler .. not found

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

 

 

注:

博客:

关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载。

实现

如果出现上面这种检查不通过,则说明缺少某些依赖。

执行以下命令:

sudo apt-get install build-essential

 

 

然后再执行上面的检查命令,出现下面这种情况,则是检查通过

 

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网