This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eraonel
Recipients Ari.Consul, asisco, dmalcolm, eraonel, hozn, loewis, orsenthil, spprakash
Date 2012-01-19.13:03:17
SpamBayes Score 1.0269773e-08
Marked as misclassified No
Message-id <1326978200.15.0.362186247534.issue9631@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I downloaded source and did the following instructions.


We use Red Hat Enterprise Linux Server release 5.5.

./configure --prefix=/home/mike/python_rh_32
make
make install

I also changed the line in site.py

from:
    
s = os.path.join(os.path.dirname(sys.path.pop()), s)

to:

s = os.path.join(os.path.dirname(sys.path[-1]), s)

but I still get:

/usr/bin/install -c -m 644 ./LICENSE /home/mike/python_rh_32/lib/python2.7/LICENSE.txt
PYTHONPATH=/home/mike/python_rh_32/lib/python2.7   \
                ./python -Wi -tt /home/mike/python_rh_32/lib/python2.7/compileall.py \
                -d /home/mike/python_rh_32/lib/python2.7 -f \
                -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
                /home/mike/python_rh_32/lib/python2.7
Traceback (most recent call last):
  File "/home/mike/python_rh_32/lib/python2.7/compileall.py", line 16, in <module>
    import struct
  File "/home/mike/python_rh_32/lib/python2.7/struct.py", line 1, in <module>
    from _struct import *
ImportError: No module named _struct
make: *** [libinstall] Error 1


Did anyone slove this problem?
History
Date User Action Args
2012-01-19 13:03:20eraonelsetrecipients: + eraonel, loewis, orsenthil, hozn, dmalcolm, spprakash, Ari.Consul, asisco
2012-01-19 13:03:20eraonelsetmessageid: <1326978200.15.0.362186247534.issue9631@psf.upfronthosting.co.za>
2012-01-19 13:03:18eraonellinkissue9631 messages
2012-01-19 13:03:17eraonelcreate