redhat9下gcc的安装问题
东北小妞 2009-11-12 04:19:34 各位老鸟们请给与指导一下,帮帮我这刚学习的菜鸟,问题如下:
我在虚拟机上安装的Red hat 9,在root权限下,安装gcc-4.4.2时总是错,
1.解压缩后的目录为gcc-4.4.2 OK
2、进入gcc-4.4.2
3、 执行./configure后如下
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-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
checking for cc... no
checking for cl... no
configure: error: in `/root/gcc-4.4.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
4、输入 make出现了
make: *** No targets specified and no makefile found. Stop.
在网上搜了很久,没找到合适的解决方法,现在有点头大,请大家给与帮忙!谢谢!