configure: error 解决方法

图新鲜玩8.10一段时间,最终在显卡驱动崩溃的情形下换回8.04LTS,心里头那个郁闷阿,所有的环境都得重新编译和设置。配置完VIM之后,编译lamp环境,./configure时出现错误如下:

configure: error: in `/home/muxi/software/backup/httpd-2.2.11/srclib/apr’:
configure: error: C compiler cannot create executables
See `config.log’ for more details.

仔细查看了config.log没有发现任何异常,于是我决定再看一眼,原来 libc6-dev = n,找到问题就简单了,

sudo apt-get install libc6-dev 一个17M的安装包就自动完事了

重新敲入编译命令,一切OK

此条目发表在 Operating System 分类目录,贴了 , 标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">