免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3199 | 回复: 4
打印 上一主题 下一主题

求助:关于CentOS 4 上Gcc 3.4.6升级或安装更新版本的GCC [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-02-28 23:11 |只看该作者 |倒序浏览
RT
由于系统是2007年做的,现在新的应用需要gcc 4.* 的支持,本人对linux不太熟悉,所以没能够搞定。
尝试下载rpm包,在http://www.rpmfind.net下载了4.1.2,说有的lib***没有,安装不了。
下了4.1.2的源文件编译,也出现了如下错误。

请指教,谢谢。

make[8]: *** No rule to make target `../libsupc++/libsupc++convenience.la', needed by `libstdc++.la'.  Stop.
make[8]: Leaving directory `/public/soft/gcc/gcc-4.1.2/x86_64-redhat-linux/32/libstdc++-v3/src'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/public/soft/gcc/gcc-4.1.2/x86_64-redhat-linux/32/libstdc++-v3'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/public/soft/gcc/gcc-4.1.2/x86_64-redhat-linux/32/libstdc++-v3'
make[5]: *** [multi-do] Error 1
make[5]: Leaving directory `/public/soft/gcc/gcc-4.1.2/x86_64-redhat-linux/libstdc++-v3'
make[4]: *** [all-multi] Error 2
make[4]: Leaving directory `/public/soft/gcc/gcc-4.1.2/x86_64-redhat-linux/libstdc++-v3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/public/soft/gcc/gcc-4.1.2/x86_64-redhat-linux/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/public/soft/gcc/gcc-4.1.2/x86_64-redhat-linux/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/public/soft/gcc/gcc-4.1.2'
make: *** [all] Error 2

论坛徽章:
0
2 [报告]
发表于 2012-02-28 23:14 |只看该作者
回复 1# Ethanolfree


    编译gcc的时间  新系统都安装出来了    机器配置不高的时间更长!

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
3 [报告]
发表于 2012-02-29 14:02 |只看该作者
这个需要先编译新版的glibc吧

论坛徽章:
0
4 [报告]
发表于 2012-02-29 14:27 |只看该作者
是集群,很很多机器的,还托管了,重装系统不容易。

taojie2000 发表于 2012-02-28 23:14
回复 1# Ethanolfree

论坛徽章:
0
5 [报告]
发表于 2012-02-29 14:29 |只看该作者
glibc是2.3.4 ,在安装matlab2009A的时候就提示glibc版本太低,不过还是matlab还是可以用。
回复 3# dooros


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP