为什么在linux下直接运行安装gcc的rpm包是有如下错误啊
cloog-ppl>=0.15isneededbygcc-4.4.4-13.el6.i686cpp=4.4.4-13.el6isneededbygcc-4.4.4-13....
cloog-ppl >= 0.15 is needed by gcc-4.4.4-13.el6.i686
cpp = 4.4.4-13.el6 is needed by gcc-4.4.4-13.el6.i686
glibc-devel >= 2.2.90-12 is needed by gcc-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-c++-4.4.4-13.el6.i686
libstdc++-devel = 4.4.4-13.el6 is needed by gcc-c++-4.4.4-13.el6.i686
libgfortran = 4.4.4-13.el6 is needed by gcc-gfortran-4.4.4-13.el6.i686
libgfortran.so.3 is needed by gcc-gfortran-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-gfortran-4.4.4-13.el6.i686
libgnat = 4.4.4-13.el6 is needed by gcc-gnat-4.4.4-13.el6.i686
libgnat-devel = 4.4.4-13.el6 is needed by gcc-gnat-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-gnat-4.4.4-13.el6.i686
/usr/share/java/eclipse-ecj.jar is needed by gcc-java-4.4.4-13.el6.i686
libgcj = 4.4.4-13.el6 is needed by gcc-java-4.4.4-13.el6.i686
libgcj-devel = 4.4.4-13.el6 is needed by gcc-java-4.4.4-13.el6.i686
libgcj-tools.so.10 is needed by gcc-java-4.4.4-13.el6.i686
libgcj.so.10 is needed by gcc-java-4.4.4-13.el6.i686
libgcj_bc.so.1 is needed by gcc-java-4.4.4-13.el6.i686
libgij.so.10 is needed by gcc-java-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-java-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-objc-4.4.4-13.el6.i686
libobjc = 4.4.4-13.el6 is needed by gcc-objc-4.4.4-13.el6.i686
libobjc.so.2 is needed by gcc-objc-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-objc++-4.4.4-13.el6.i686 展开
cpp = 4.4.4-13.el6 is needed by gcc-4.4.4-13.el6.i686
glibc-devel >= 2.2.90-12 is needed by gcc-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-c++-4.4.4-13.el6.i686
libstdc++-devel = 4.4.4-13.el6 is needed by gcc-c++-4.4.4-13.el6.i686
libgfortran = 4.4.4-13.el6 is needed by gcc-gfortran-4.4.4-13.el6.i686
libgfortran.so.3 is needed by gcc-gfortran-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-gfortran-4.4.4-13.el6.i686
libgnat = 4.4.4-13.el6 is needed by gcc-gnat-4.4.4-13.el6.i686
libgnat-devel = 4.4.4-13.el6 is needed by gcc-gnat-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-gnat-4.4.4-13.el6.i686
/usr/share/java/eclipse-ecj.jar is needed by gcc-java-4.4.4-13.el6.i686
libgcj = 4.4.4-13.el6 is needed by gcc-java-4.4.4-13.el6.i686
libgcj-devel = 4.4.4-13.el6 is needed by gcc-java-4.4.4-13.el6.i686
libgcj-tools.so.10 is needed by gcc-java-4.4.4-13.el6.i686
libgcj.so.10 is needed by gcc-java-4.4.4-13.el6.i686
libgcj_bc.so.1 is needed by gcc-java-4.4.4-13.el6.i686
libgij.so.10 is needed by gcc-java-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-java-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-objc-4.4.4-13.el6.i686
libobjc = 4.4.4-13.el6 is needed by gcc-objc-4.4.4-13.el6.i686
libobjc.so.2 is needed by gcc-objc-4.4.4-13.el6.i686
libmpfr.so.1 is needed by gcc-objc++-4.4.4-13.el6.i686 展开
3个回答
展开全部
缺少依赖的包,Linux下的软件有一些是需要先安装其它包才能安装使用的,它们之间这种联系成为依赖关系。如果可以联网的话,建议你使用yum安装,以root身份执行yum install gcc即可,yum会帮你安装其它依赖包的了。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
依赖关系没解决,你应该yum install gcc gdb gcc-c++ -y,自动解决依赖关系
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你真以为 GCC 就是一个软件包啊?
另外你真以为只装一个 GCC 就能开发了啊?
很多系统的 GCC 被拆成了无数个小软件包。而且 GCC 并不是“绿色”的,还需要安装很多杂七杂八的支持环境。而且 GCC 本身只是编译器,连接器、过程控制、头文件、基本函数库什么的都不含。
另外你真以为只装一个 GCC 就能开发了啊?
很多系统的 GCC 被拆成了无数个小软件包。而且 GCC 并不是“绿色”的,还需要安装很多杂七杂八的支持环境。而且 GCC 本身只是编译器,连接器、过程控制、头文件、基本函数库什么的都不含。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询