安装SpecCPU2006 on Linux of CentOS6.3, gcc4.4.7
来源:互联网 发布:艾薇软件下载 编辑:程序博客网 时间:2024/05/23 01:14
由于在tools/bin目录中只有ia64-linux,所以在直接运行./install.sh脚本时,系统会提示直接重新安装tools工具集。该过程如1.1.1 所示。另外一个做法就是指定可用的现成的工具集,例如linux-suse101-AMD64,首先在CPU2006/tools/bk_bin目录中选择合适的工具集并拷贝到CPU2006/tools/bin目录中,(当前以 linux-suse101-AMD64为例)然后按照命令./install.sh -u linux-suse101-AMD64 进行安装即可,具体过程如1.1.2 所示。
1.1.1 Install tools set.
操作系统是centOS6.3, 内核版本是3.1.10,gcc版本是4.4.7,在安装过程中出现了一些错误,目前只将部分错误解决了,尚未最终安装成功。
1) error in make tool/perl
The following patch will fix it (as will just deleting the offending
lines, as you've probably already discovered.) This patch already part of
the current development release, but hasn't yet been folded back into the
maintenance track.
--- perl-5.8.x/makedepend.SH 2006-06-13 15:31:22.000000000 -0400
+++ perl-5.8.x-andy/makedepend.SH 2006-07-25 14:45:11.000000000 -0400
@@ -167,6 +167,7 @@
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
--
Andy Dougherty doughera@lafayette.edu
https://rt.perl.org/Public/Bug/Display.html?id=40675
2) error in CPU2006/tools/src/specmd5sum
注释掉md5sum.c 的line38即可。
3) error in 安装 perl-5.8.7
undefined reference to `pow'
在perl源代码目录下的Makefile中添加-lm选项即可。
4) error in too/perl
SysV.xs:7:25: error: asm/page.h: No such file or directory
解决方法: /home/lxj/CPU2006/tools/src/perl-5.8.7/ext/IPC/SysV/SysV.xs 打开对应注释即可:
include <asm/page.h>
http://blog.csdn.net/koala002/article/details/6362473
5)配置tools/buildtool 脚本
在安装perl时,需要用到数学库,所以在CPU2006/tools/src/buildtools文件Configure配置中添加该选项:
./Configure -Dcc="gcc -lm"
6)安装 libwww-perl-5.803出错
在该暗转该过程中会用到已经安装的perl-5.8.7,在用该perl编译该库时出错。
1.1.2 指定工具集
1) cd CPU2006/tools/bk_bin;
2) cp linux-suse101-AMD64 ../bin/ -rf
3) ./install.sh -u linux-suse101-AMD64
4) sh shrc
0 0
- 安装SpecCPU2006 on Linux of CentOS6.3, gcc4.4.7
- centos6.4安装gcc4.8.2
- Centos6.5 安装 gcc4.7
- centos6.5安装gcc4.9.2
- Linux安装gcc4.8.4
- centos6.5下安装gcc4.8.1 笔记
- Centos6.5编译安装GCC4.9
- CentOS6.5源码安装GCC4.8.3
- centos6.6下安装Gcc4.8.1
- centos6.5 下安装gcc4.8.2
- CentOS6.5升级手动安装GCC4.8.2
- CentOS6.5升级手动安装GCC4.8.2
- CentOS6.5升级手动安装GCC4.8.2
- Ubuntu14安装gcc4.4.7
- arm-linux-gcc4.4.3安装
- linux 编译安装GCC4.9.3
- CentOS6.3升级GCC到GCC4.8.2
- centos6.4安装GCC4.8 C++11
- Mysql binlog and The General Query Log
- Android开发之旅:应用程序基础及组件(续)
- [ArcGIS for Android] arcgis runtime for android 中加载矢量数据的实现
- Eclipse的工作集Working Set
- Spring 概述
- 安装SpecCPU2006 on Linux of CentOS6.3, gcc4.4.7
- 解MyEclipse10 安装Spket 1.6.23(支持Extjs4.1.1及jQuery1.8)
- 九度oj 题目1035:找出直系亲属
- Bone Collector -01背包
- Codeforces Round #229 (Div. 2) 解题报告
- id,rowid,rownum 区别
- SDK使用NinePatch(.9)资源
- 如何借助PageSpeed,为Nginx网站服务器提速?
- 九度OJ 1124 Digital Roots -- 数位拆解