大牛们,帮我看看
安装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.
是什么问题,如何解决? 啥叫 “安装rpm时出现这个”:?:
./configure: line 2343: cc: command not found
没有编译器,找出安装盘把开发工具装上。 没有装编译器 不好意思,我刚才意思没表达清楚,我也知道是装编译器,但是当我
# 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.
我现在就是想安装编译器,然后安装编译器又需要编译器,这不是死循环吗 ,咋办 ? 都用用rpm
缺少的也找rpm 麻烦,还不如找到安装光盘,添加开发工具。
只有gcc也是不够的……
页:
[1]