ruizhi 发表于 2004-7-24 13:23:04

大牛们,帮我看看

安装rpm时出现这个:
# ./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.

是什么问题,如何解决?

12543122 发表于 2004-7-24 13:29:32

啥叫 “安装rpm时出现这个”:?:

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

西奈 发表于 2004-7-24 13:31:35

没有装编译器

ruizhi 发表于 2004-7-24 13:45:58

不好意思,我刚才意思没表达清楚,我也知道是装编译器,但是当我
# 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


# cd 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.
我现在就是想安装编译器,然后安装编译器又需要编译器,这不是死循环吗 ,咋办 ?

BOoRFGOnZ 发表于 2004-7-24 14:44:45

都用用rpm
缺少的也找rpm

12543122 发表于 2004-7-24 15:39:44

麻烦,还不如找到安装光盘,添加开发工具。
只有gcc也是不够的……
页: [1]
查看完整版本: 大牛们,帮我看看