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 suzhengchun
Recipients suzhengchun
Date 2012-06-14.14:36:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339684582.74.0.731857257466.issue15066@psf.upfronthosting.co.za>
In-reply-to
Content
if test -d /WORK/suzc/installed/python/lib/python2.7/distutils/tests; then \
        /usr/bin/install -c -m 644 ./Modules/xxmodule.c \
                /WORK/suzc/installed/python/lib/python2.7/distutils/tests ; \
fi
PYTHONPATH=/WORK/suzc/installed/python/lib/python2.7   \
        ./python -Wi -tt /WORK/suzc/installed/python/lib/python2.7/compileall.py \
        -d /WORK/suzc/installed/python/lib/python2.7 -f \
        -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
        /WORK/suzc/installed/python/lib/python2.7
Traceback (most recent call last):
  File "/WORK/suzc/installed/python/lib/python2.7/compileall.py", line 16, in <module>
    import struct
  File "/WORK/suzc/installed/python/lib/python2.7/struct.py", line 1, in <module>
    from _struct import *
ImportError: No module named _struct
make: *** [libinstall] 错误 1            


In directory /WORK/suzc/software/Python-2.7.3, I do this:
suzc@linux-opensuse:22:33:28:Python-2.7.3$ ./configure --prefix=/WORK/suzc/installed/python --exec-prefix=/WORK/suzc/installed/python --mandir=/WORK/suzc/installed/man | tee -a config_make.20120614.log
make 
make install

and then meets the install error!!

python's version is 2.7.3, i download the .tgz & .bz2, both the some problem.


My system is:
suzc@linux-opensuse:22:33:28:Python-2.7.3$ uname -a
Linux linux-opensuse 3.1.0-rc7-3-desktop #1 SMP PREEMPT Wed Sep 28 14:41:36 UTC 2011 (50fb02f) x86_64 x86_64 x86_64 GNU/Linux
suzc@linux-opensuse:22:35:22:Python-2.7.3$ lsb_release -a
LSB Version:    n/a
Distributor ID: SUSE LINUX
Description:    openSUSE 12.1 Beta 1 (x86_64)
Release:        12.1
Codename:       Asparagus


any help? Thank you very much.
History
Date User Action Args
2012-06-14 14:36:22suzhengchunsetrecipients: + suzhengchun
2012-06-14 14:36:22suzhengchunsetmessageid: <1339684582.74.0.731857257466.issue15066@psf.upfronthosting.co.za>
2012-06-14 14:36:22suzhengchunlinkissue15066 messages
2012-06-14 14:36:21suzhengchuncreate