用vmware9.0虚拟机安装了redhat linux9,在装vmware tool时出现找不到gcc求高手指教
(whatisthelocationofgccprogramonyourmachine?)...
(what is the location of gcc program on your machine?)
展开
3个回答
展开全部
光盘的package目录下也有gcc的包。就是安装的时候比较麻烦。
安装gcc出现报缺失文件
[root@localhost Packages]# rpm -ivh gcc-* cpp-* libgcc-* cloog-*
warning: gcc-4.4.4-13.el6.i686.rpm: Header V3 RSA/SHA256 Signature,
key ID fd431d51: NOKEY
error: Failed dependencies:
libmpfr.so.1 is needed by cpp-4.4.4-13.el6.i686
libppl.so.7 is needed by cloog-ppl-0.15.7-1.2.el6.i686
libppl_c.so.2 is needed by cloog-ppl-0.15.7-1.2.el6.i686
答案:我自己已经搞定了,这三个文件在mpfr-2.4.1-6.el6.i686.rpm
和ppl-0.10.2-11.el6.i686.rpm中
安装Gcc需要以下几个安装包
rpm -ivh mpfr-2.4.1-6.el6.i686.rpm
rpm -ivh ppl-0.10.2-11.el6.i686.rpm
find /media/cdrom -name cpp-4.4.4-13.el6.i686.rpm
rpm -ivh cpp-4.4.4-13.el6.i686.rpm
rpm -ivh glibc-headers-2.12-1.7.el6.i686.rpm
rpm -ivh glibc-devel-2.12-1.7.el6.i686.rpm
rpm -ivh cloog-ppl-0.15.7-1.2.el6.i686.rpm
rpm -ivh gcc-4.4.4-13.el6.i686.rpm
rpm -ivh mpfr-2.4.1-6.el6.i686.rpm
安装gcc出现报缺失文件
[root@localhost Packages]# rpm -ivh gcc-* cpp-* libgcc-* cloog-*
warning: gcc-4.4.4-13.el6.i686.rpm: Header V3 RSA/SHA256 Signature,
key ID fd431d51: NOKEY
error: Failed dependencies:
libmpfr.so.1 is needed by cpp-4.4.4-13.el6.i686
libppl.so.7 is needed by cloog-ppl-0.15.7-1.2.el6.i686
libppl_c.so.2 is needed by cloog-ppl-0.15.7-1.2.el6.i686
答案:我自己已经搞定了,这三个文件在mpfr-2.4.1-6.el6.i686.rpm
和ppl-0.10.2-11.el6.i686.rpm中
安装Gcc需要以下几个安装包
rpm -ivh mpfr-2.4.1-6.el6.i686.rpm
rpm -ivh ppl-0.10.2-11.el6.i686.rpm
find /media/cdrom -name cpp-4.4.4-13.el6.i686.rpm
rpm -ivh cpp-4.4.4-13.el6.i686.rpm
rpm -ivh glibc-headers-2.12-1.7.el6.i686.rpm
rpm -ivh glibc-devel-2.12-1.7.el6.i686.rpm
rpm -ivh cloog-ppl-0.15.7-1.2.el6.i686.rpm
rpm -ivh gcc-4.4.4-13.el6.i686.rpm
rpm -ivh mpfr-2.4.1-6.el6.i686.rpm
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询