配置:错误:C编译器无法创建可执行文件
我正在尝试将Apache 2.2.15升级到2.2.27。运行从apache2.2.15 / build取得的config.nice时,出现以下错误: checking whether the C compiler works... no configure: error: in `/home/vkuser/httpd-2.2.27/srclib/apr': configure: error: C compiler cannot create executables 我尝试过在线搜索,但没有运气。我还通过运行一个小的test.c脚本测试了c编译器,它运行良好。在线解决方案很少,例如安装“ kernel-devel”软件包,但无法解决问题。我该如何工作? 以下是生成的config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which …