各位老鸟们请给与指导一下,帮帮我这刚学习的菜鸟,问题如下:
我在虚拟机上安装的Red hat enterprise Linux 4,在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.
在网上搜了很久,没找到合适的解决方法,现在有点头大,请大家给与帮忙!谢谢!


prinse 于 2009-10-27 21:27:47发表:
不能直接安装二进制包吗?
wangyu 于 2009-10-24 18:17:57发表:
你在安装的时候没有选择装开发环境,把光盘找出来,找一下gcc的rpm包
mali0417 于 2009-10-24 17:46:29发表:
楼上的说清楚点可以吗,谢谢
要怎么做
wangyu 于 2009-10-24 17:27:43发表:
你没有编译环境