各位看官请看:
[root@test bak]# rpm -ivh gcc-3.2-7.i386.rpm
error: failed dependencies:
cpp = 3.2-7 is needed by gcc-3.2-7
glibc-devel >= 2.2.90-12 is needed by gcc-3.2-7
libgcc >= 3.2-7 is needed by gcc-3.2-7
rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by gcc-3.2-7
因为还要其他包的支持。有些还安装不上去。显示同样的信息。
现在我想用tar那个包装,但执行
[root@test gcc-3.4.0]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
现在我请问。CC 编译器到底怎么安装。或是怎么用。请高手指点我。
谢谢。