ubuntu apache 源码安装错误 configure: error: C compiler cannot create executables 解决

来源:互联网 发布:拳头暴君淘宝店 编辑:程序博客网 时间:2024/04/29 20:42

在ubuntu下源码安装apache出现错误

checking for C compiler default output file name... configure: error: C compiler cannot create executables

解决方法:

sudo apt-get install build-essential 
 

这是一个很重要的基础包,很多情况下都会用到它,但是ubuntu在默认情况下没有包含它,这样的情况很多,很多重要的软件包ubuntu的server版都没有包含.遇到很多次了.

原创粉丝点击