Hi All,

When I try to build gem5 for X86, I am getting the error shown in [1]. I've 
read about this problem in the previous threads 
(http://comments.gmane.org/gmane.comp.emulators.m5.users/10463 and 
http://comments.gmane.org/gmane.comp.emulators.m5.users/9296). 

However, I tried all the suggestions in those thread such as using the 
-no-cache and -config=force options but I am still getting this error. I've 
installed python-dev and my distribution of linux is shown in [2]. The version 
of tools that I am using is shown in [3].

Can someone please help, I really need to get gem5 to build and run some 
benchmarks. Any suggestions are much appreciated.

Thanks,
Zheng

[1]
[root@rpsrvr1 gem5]# scons build/X86/gem5.opt
scons: Reading SConscript files ...
Warning: Protocol buffer compiler (protoc) not found.
         Please install protobuf-compiler for tracing support.
Checking for leading underscore in global variables...no
Checking for C header file Python.h... no
Error: can't find Python.h header in ['/usr/include/python2.6']
Install Python headers (package python-dev on Ubuntu and RedHat)

[2]
[root@rpsrvr1 gem5]# cat /etc/*-release
Scientific Linux release 6.1 (Carbon)

[root@rpsrvr1 gem5]# uname -a
Linux rpsrvr1.uwaterloo.ca 2.6.32-220.17.1.el6.x86_64 #1 SMP Tue May 15 
17:16:46 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux

[3]
python 2.6.6
gcc 4.4.5
scons 2.0.1
swig 1.3.40
zlib 1.2.3

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to