QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 669|回复: 5

大牛们,帮我看看

[复制链接]
发表于 2004-7-24 13:23:04 | 显示全部楼层 |阅读模式
安装rpm时出现这个:
[root@ruizhi binutils-2.14.92]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2343: cc: command not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

是什么问题,如何解决?
发表于 2004-7-24 13:29:32 | 显示全部楼层
啥叫 “安装rpm时出现这个”  

./configure: line 2343: cc: command not found
没有编译器,找出安装盘把开发工具装上。
回复

使用道具 举报

发表于 2004-7-24 13:31:35 | 显示全部楼层
没有装编译器
回复

使用道具 举报

 楼主| 发表于 2004-7-24 13:45:58 | 显示全部楼层
不好意思,我刚才意思没表达清楚,我也知道是装编译器,但是当我
[root@ruizhi GCC]# rpm -ivh gcc-3.2.2-5.i386.rpm
error: Failed dependencies:
        binutils >= 2.12.90.0.7-1 is needed by gcc-3.2.2-5
        cpp = 3.2.2-5 is needed by gcc-3.2.2-5
        glibc-devel >= 2.2.90-12 is needed by gcc-3.2.2-5


[root@ruizhi GCC]# cd binutils-2.14.92
[root@ruizhi binutils-2.14.92]# ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2343: cc: command not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
我现在就是想安装编译器,然后安装编译器又需要编译器,这不是死循环吗 ,咋办 ?
回复

使用道具 举报

发表于 2004-7-24 14:44:45 | 显示全部楼层
都用用rpm
缺少的也找rpm
回复

使用道具 举报

发表于 2004-7-24 15:39:44 | 显示全部楼层
麻烦,还不如找到安装光盘,添加开发工具。
只有gcc也是不够的……
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-28 15:24 , Processed in 0.102955 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表