ITPub博客

首页 > Linux操作系统 > Linux操作系统 > GCC安装——喵的,我恨GCC,太难装了,T_T

GCC安装——喵的,我恨GCC,太难装了,T_T

原创 Linux操作系统 作者:F0reverSt 时间:2012-07-28 18:39:24 0 删除 编辑
安装GCC以后发现需要以下软件

cloog-ppl >= 0.15 is needed by gcc-4.4.6-4.el6.x86_64
             libppl.so.7()(64bit) is needed by cloog-ppl-0.15.7-1.2.el6.x86_64           //*下载安装的ppl-
             libppl_c.so.2()(64bit) is needed by cloog-ppl-0.15.7-1.2.el6.x86_64       0.10.2-11.el6.x86_64*//    

cpp = 4.4.6-4.el6 is needed by gcc-4.4.6-4.el6.x86_64                      //*终端安装提示错误
[root@selina needbygcc]# rpm -ivh cpp-4.4.6-4.el6.x86_64.rpm
warning: cpp-4.4.6-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cpp                    ########################################### [100%]
error: unpacking of archive failed on file /usr/libexec/gcc/x86_64-redhat-linux/4.4.4/cc1;50142330: cpio: read failed - 错误的文件描述符
重新下载以后,使用直接双击打开安装,居然装上了...终端里打命令查看
[root@selina needbygcc]# rpm -qa | grep cpp
mcpp-2.7.2-4.1.el6.x86_64
abrt-addon-ccpp-1.1.13-4.0.4.el6.x86_64
cpp-4.4.6-4.el6.x86_64
libmcpp-2.7.2-4.1.el6.x86_64
显示确实已经装上,不知是否可用,留着以后实验...*//
            libmpfr.so.1()(64bit) is needed by cpp-4.4.6-4.el6.x86_64     //*下载安装的mpfr-2.4.1-6.el6.x86_64*//

glibc-devel >= 2.2.90-12 is needed by gcc-4.4.6-4.el6.x86_64
            glibc = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.x86_64
                         glibc-common = 2.12-1.80.el6 is needed by glibc-2.12-1.80.el6.x86_64
            glibc-headers is needed by glibc-devel-2.12-1.80.el6.x86_64
            glibc-headers = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.x86_64

libgcc >= 4.4.6-4.el6 is needed by gcc-4.4.6-4.el6.x86_64
libgomp = 4.4.6-4.el6 is needed by gcc-4.4.6-4.el6.x86_64

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27194278/viewspace-738026/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2012-07-24

  • 博文量
    2
  • 访问量
    21972