[issue12582] lib-dynload missing in python install

Paul Weiss report at bugs.python.org
Mon Jul 18 16:05:48 CEST 2011


Paul Weiss <psw208 at gmail.com> added the comment:

Correct, I am using the source from 

http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz

make clean 
./configure --prefix=/opt/Python-2.7
make 
sudo make install 

I get this:

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

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12582>
_______________________________________


More information about the Python-bugs-list mailing list