Hi, This question relates to the process of configuring/building M5 on Ubuntu 10. This question has already been asked, answered, but the provided answers don't solve the problem.
After downloading the source code of M5 via Mercurial, the README file suggests that I run the command [1], but I am getting error [2]. Now, Python.h is definitely inside the folder '/usr/include/python2.6'. So any help on this question should be based on the fact that the file is inside the required folder. Initially I did not have python-dev installed which logically caused the error since Python.h was missing. After that I installed python-dev which resulted in Python.h being created in the required folder. However for reasons beyond my understanding, scons seems to not see Python.h in the folder. My guess was that scons is using some cached configuration that has not been updated after installing python-dev and hence still cannot see Python.h. What I did was run [3] but I did not get much luck. I also uninstalled and installed scons using [4] but the problem persists. Can anybody suggest anything to solve this issue as I have run out of logical solutions. Thanks, A. [1] scons build/ALPHA_SE/tests/debug/ quick [2] scons: Reading SConscript files ... 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'] [3] scons --no-cache build/ALPHA_SE/tests/debug/quick [4] sudo apt-get --purge remove scons sudo autoremove sudo autoclean
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users