免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1298 | 回复: 0
打印 上一主题 下一主题

求助:安装编译Apache程序时出现怪问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-03-17 23:53 |只看该作者 |倒序浏览
求助:安装编译Apache程序时出现怪问题?

      说明:原来老的Apache程序是通过下面命令删除:
            service httpd stop
            yum -y remove httpd
            rpm -qa httpd

            然后下载程序回来安装,在配置时又提示GCC未安装,
            因此又接着装了GCC-rpm的包。但又提示其他错误。晕倒!

     关键是下面两条错误:

        configure: error: in `/home/httpd-2.2.15/srclib/apr':
        configure: error: C compiler cannot create executables

     不知啥子意思啊?

      

执行命令如下:

[root@localhost home]# cd httpd-2.2.15
[root@localhost httpd-2.2.15]# ./configure --prefix=/usr/local/apache2 --enable-module=so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.2
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/httpd-2.2.15/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr


谢了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP