- 论坛徽章:
- 0
|
因为我的机器上没有 gcc 所以才需要安装
可是安装的过程中却要求我需要 cc 才能继续,这不是矛盾吗?
请大家帮助我解决这个问题吧。
[root@localhost gcc]# /root/gcc_src/gcc-4.0.2/configure --prefix=/usr/local/gcc --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-languages=c,c++,java
creating cache ./config.cache
checking host system type... i386-redhat-linux-gnu
checking target system type... i386-redhat-linux-gnu
checking build system type... i386-redhat-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@localhost gcc]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin |
|