Okay, I have two questions.

1. I think that the yum command is used to install globally, but everything
I do would need to be local so that I don't mess up other student work.
 Additionally, we don't have yum installed; is there another option?

2. The other thread I found on the topic (
http://comments.gmane.org/gmane.comp.emulators.m5.users/4346) seems to
indicate that the python development package is needed if the Python.h file
isn't actually in the location that is being searched; here, I actually do
have the Pythong.h file, but for some reason it isn't being found (even
though it is searching in the correct directory).

Any other possible fix?

Thanks,
Amber

On Thu, Feb 23, 2012 at 1:02 PM, Mahmood Naderan <[email protected]>wrote:

> 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
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to