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

在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版都没有包含.遇到很多次了.

你可能感兴趣的:(ubuntu apache 源码安装错误 configure: error: C compiler cannot create executables 解决)