[issue9631] Python 2.7 installation issue for Linux gcc-4.1.0-3 (Fedora Core 5?)
Ari Consul
report at bugs.python.org
Mon Nov 22 02:25:52 CET 2010
Ari Consul <ariconsul at gmail.com> added the comment:
Similar error on make install. Using Centos 5
/usr/bin/install -c -m 644 ./LICENSE /home/ac927k/local/Python-2.7/lib/python2.7/LICENSE.txt
PYTHONPATH=/home/ac927k/local/Python-2.7/lib/python2.7 \
./python -Wi -tt /home/ac927k/local/Python-2.7/lib/python2.7/compileall.py \
-d /home/ac927k/local/Python-2.7/lib/python2.7 -f \
-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
/home/ac927k/local/Python-2.7/lib/python2.7
Traceback (most recent call last):
File "/home/ac927k/local/Python-2.7/lib/python2.7/compileall.py", line 17, in <module>
import struct
File "/home/ac927k/local/Python-2.7/lib/python2.7/struct.py", line 1, in <module>
from _struct import *
ImportError: No module named _struct
make: *** [libinstall] Error 1
[1]+ Exit 2 make install >&~/python2.7_make_install.log
[ac927k at limbo Python-2.7]$ clear
[ac927k at limbo Python-2.7]$ df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
ext3 73608360 11832396 57976516 17% /
/dev/sda1 ext3 101086 26199 69668 28% /boot
tmpfs tmpfs 1029736 0 1029736 0% /dev/shm
[ac927k at limbo Python-2.7]$ uname -av
Linux limbo.local 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:04:48 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[ac927k at limbo Python-2.7]$ cat /etc/redhat-release
CentOS release 5.5 (Final)
[ac927k at limbo Python-2.7]$
----------
nosy: +Ari.Consul
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9631>
_______________________________________
More information about the Python-bugs-list
mailing list