裁剪的linux没有gcc,没有gcc的解决办法

没有gcc的解决办法

发布时间:2008-04-13 15:36:19来源:红联作者:Whretofi

执行./configure 然后就出现以下提示:

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking whether make sets $(MAKE)... yes

checking for gcc... no

checking for cc... no

checking for cc... no

checking for cl... no

configure: error: no acceptable C compiler found in $PATH

执行make后

提示:No targets specified and no makefile found.Stop.

执行make install后

提示:No rule to make target 'install'.Stop.

经过查阅资料,发现是因为没有安装GCC组件的原因;

我试着通过System settings中的Add/RemoveApplications来添加/删除组件,选中开发工具中相应的项,点击update,提示插入disk1,我插入光盘,但不起作用,不知是不是因为在虚拟机中的原因...没办法了,手动安装,我放入red hat 工具盘,拷出了gcc*.rpm,然后共享至虚拟机中的linux 中,安装,提示缺少其他一些组件,最后经过来回搜索与拷贝,GCC安装成功,所需文件有:

libf2c-3.3.2-1.i386.rpm

libstdc++-devel-3.3.2-1.i386.rpm

glibc-kernheaders-2.4-8.36.i386.rpm

glibc-headers-2.3.2-101.i386.rpm

glibc-devel-2.3.2-101.i386.rpm

gcc-objc-3.3.2-1.i386.rpm

binutils-2.14.90.0.6-3.i386.rpm

gcc-3.3.2-1.i386.rpm

gcc-c++-3.3.2-1.i386.rpm

automake14-1.4p6-7.noarch.rpm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值