[Tutor] Building Python 2.7.3 on RHEL 5.8 x86_64 -- Syntax Error

Sean Carolan scarolan at gmail.com
Tue Mar 26 18:05:24 CET 2013


> What it looks like to me is that while you run (using python 2.7):
>
> >  python27 setup.py bdist_rpm
>
> doing that generates a temporary bash script, which in turn runs:
>
> > python setup.py build
>

Yea, I checked this, and /usr/local/bin/python is just a symlink pointing
at /usr/local/bin/python2.7.

Unfortunately Red Hat is slow to update their package versions; even the
most recent RHEL6 comes with Python 2.6.

I think if I can figure out where it wants that pyconfig.h file, it should
work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130326/881ba9c5/attachment.html>


More information about the Tutor mailing list