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.
在网上搜了很久,没找到合适的解决方法,现在有点头大,请大家给与帮忙!谢谢!
...全文
76 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
littlemonster 2009-11-12
  • 打赏
  • 举报
回复
没安过,搜了一下。。
http://unclean.org/howto/gcchowto.html

567

社区成员

发帖
与我相关
我的任务
社区描述
英特尔® 边缘计算,聚焦于边缘计算、AI、IoT等领域,为开发者提供丰富的开发资源、创新技术、解决方案与行业活动。
社区管理员
  • 英特尔技术社区
  • shere_lin
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧