yum install python-devel On 2/23/12, Amber Sami Kubesch <[email protected]> wrote: > It's showing as: Red Hat Enterprise Linux AS release 4 (Nahant Update 6) > > Thanks, > Amber > > On Thu, Feb 23, 2012 at 12:45 PM, Mahmood Naderan > <[email protected]>wrote: > >> What is your OS? >> >> On 2/23/12, Amber Sami Kubesch <[email protected]> wrote: >> > I updated gcc to 4.6.1 and am getting error with python. Specifically, >> if >> > I type >> > >> > *scons build/ARM_SE/gem5.opt* >> > >> > I get this output: >> > >> > ading 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 >> > ['/ufs/cluster/tsg/python-2.7.2/include/python2.7'] >> > >> > I found an old thread where the user, like me, actually did have >> > Python.h >> > in that directory; the suggestion was to put the path to Python.h in >> front >> > of scons. I'm assuming that means to use something like >> > */ufs/cluster/tsg/python-2.7.2/include/python2.7 >> > scons build/ARM_SE/gem5.opt*. When I do this though, even trying with a >> > copy of python 2.7.2 that I installed locally, I get the message: >> > >> > Permission denied. >> > >> > Is it possible that I misinterpreted the instructions in the older >> thread? >> > Did anybody solve a similar issue? This happens whether I'm using the >> > newest development release or the newest stable release of Gem5. >> Versions >> > of other programs I'm using are: >> > swig 1.3.31 >> > scons 2.1.0 alpha >> > gcc 4.6.1 >> > python 2.7.2 >> > >> > Thanks, >> > Amber >> > >> >> >> -- >> -- >> // Naderan *Mahmood; >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> >
-- -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
