Try to install python-dev package to include the header file on debian or
ubuntu.

2011/5/24 Guangyi Cao <caoguan...@gmail.com>

> Hi, all,
> I was trying to follow the instructions in
> http://www.m5sim.org/Compiling_M5 to compile M5.
> After input "scons build/ALPHA_FS/m5.debug" I got the error messages below:
> scons: Reading SConscript files ...
> .hg directory not found
> 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']
>
> I have installed SWIG, SCONS, ZLIB, M4 in my system and I use ubuntu 10.10.
> Can anyone please to look into this problem for me? Thanks!
>
>
> Guangyi Cao
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@m5sim.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to