免费注册 查看新帖 |

Chinaunix

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

configure:error: C compiler cannot create executables [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-04 09:56 |只看该作者 |倒序浏览
按照精华帖http://www.chinaunix.net/jh/14/198725.html想装一个qmail,刚开始就遇到问题了,不知缺什么东西?
步骤如下:
sol9 x86以core大小安装,然后
pkgadd -d gcc-3.3-sol9-intel-local
pkgadd -d make-3.80-sol9-intel-local
pkgadd -d patch-2.5.4-sol8-intel-local
mv /usr/bin/patch /usr/bin/patch.bak
cp /usr/local/bin/patch /usr/bin/patch
pkgadd -d autoconf-2.57-sol9-intel-local
pkgadd -d automake-1.72-sol9-intel-local
pkgadd -d bison-1.875-sol9-intel-local
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/etc:/usr/local/bin:/usr/ccs/bin;export PATH
安装ncurses遇到问题
# tar xvf ncurses-5.3.tar  
# cd ncurses-5.3  
# ./configure
...
checking for prefix... /usr/local
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables

在线等,谢谢!

论坛徽章:
0
2 [报告]
发表于 2004-04-04 10:44 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2004-04-04 10:47 |只看该作者

configure:error: C compiler cannot create executables

[quote]原帖由 "adonislee"]CC=gcc[/quote 发表:

#echo $CC
gcc

论坛徽章:
0
4 [报告]
发表于 2004-04-04 10:55 |只看该作者

configure:error: C compiler cannot create executables

权限?
空间?

论坛徽章:
0
5 [报告]
发表于 2004-04-04 11:18 |只看该作者

configure:error: C compiler cannot create executables

原帖由 "hjtpal" 发表:
权限?
空间?

能详细一点说吗?

我的分区:
            18GB硬盘 HD

            / 1024m
            swap 2048m ----- 4096m
            /var 1024m
            /usr 4096
            /export 剩余
            (第三方软件均在/usr/local下)

论坛徽章:
0
6 [报告]
发表于 2004-06-10 15:00 |只看该作者

configure:error: C compiler cannot create executables

我也遇到这个问题
我是在安装APACHE的时候遇到的。。。。
REDHAT 9  安装的时候编译器 没安装 自己装的GCC3.34
安装APACHE的时候 就遇到了 checking for C compiler default output... configure: error: C compiler cannot create executables

检查CONFIGURE。LOG 没看见有错误消息。。。。。。不知道该怎么去改了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP