Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Simply issuing ./python -E ./setup.py build fails with an Illegal instruction so I'm suspecting it something wrong with the newly built Python itself. I haven't uncovered much from Google, just this thread which didn't help.
Executing the build command outside the make, but adding the -v switch (./python -E -v ./setup.py build) outputs the following...
Code:
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/src/dev-lang/python/Python-2.5/Lib/site.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/site.py
import site # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/site.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/os.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/os.py
import os # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/os.pyc
import posix # builtin
# /usr/src/dev-lang/python/Python-2.5/Lib/posixpath.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/posixpath.py
import posixpath # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/posixpath.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/stat.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/stat.py
import stat # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/stat.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/UserDict.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/UserDict.py
import UserDict # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/UserDict.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/copy_reg.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/copy_reg.py
import copy_reg # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/copy_reg.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/types.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/types.py
import types # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/types.pyc
import _types # builtin
import distutils # directory /usr/src/dev-lang/python/Python-2.5/Lib/distutils
# /usr/src/dev-lang/python/Python-2.5/Lib/distutils/__init__.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/distutils/__init__.py
import distutils # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/distutils/__init__.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/distutils/util.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/distutils/util.py
import distutils.util # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/distutils/util.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/string.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/string.py
import string # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/string.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/re.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/re.py
import re # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/re.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/sre_compile.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/sre_compile.py
import sre_compile # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/sre_compile.pyc
import _sre # builtin
# /usr/src/dev-lang/python/Python-2.5/Lib/sre_constants.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/sre_constants.py
import sre_constants # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/sre_constants.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/sre_parse.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/sre_parse.py
import sre_parse # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/sre_parse.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/distutils/errors.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/distutils/errors.py
import distutils.errors # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/distutils/errors.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/distutils/dep_util.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/distutils/dep_util.py
import distutils.dep_util # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/distutils/dep_util.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/distutils/spawn.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/distutils/spawn.py
import distutils.spawn # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/distutils/spawn.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/distutils/log.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/distutils/log.py
import distutils.log # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/distutils/log.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/warnings.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/warnings.py
import warnings # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/warnings.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/linecache.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/linecache.py
import linecache # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/linecache.pyc
import encodings # directory /usr/src/dev-lang/python/Python-2.5/Lib/encodings
# /usr/src/dev-lang/python/Python-2.5/Lib/encodings/__init__.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/encodings/__init__.py
import encodings # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/encodings/__init__.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/codecs.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/codecs.py
import codecs # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/codecs.pyc
import _codecs # builtin
# /usr/src/dev-lang/python/Python-2.5/Lib/encodings/aliases.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/encodings/aliases.py
import encodings.aliases # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/encodings/aliases.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/encodings/latin_1.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/encodings/latin_1.py
import encodings.latin_1 # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/encodings/latin_1.pyc
Python 2.5 (r25:51908, Oct 25 2007, 00:33:20)
[GCC 4.1.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import imp # builtin
# /usr/src/dev-lang/python/Python-2.5/Lib/optparse.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/optparse.py
import optparse # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/optparse.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/textwrap.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/textwrap.py
import textwrap # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/textwrap.pyc
# /usr/src/dev-lang/python/Python-2.5/Lib/gettext.pyc matches /usr/src/dev-lang/python/Python-2.5/Lib/gettext.py
import gettext # precompiled from /usr/src/dev-lang/python/Python-2.5/Lib/gettext.pyc
Illegal instruction
I've also tried Python-2.5.1 on a whim with the same results.
Any hints?
Last edited by weibullguy; 10-25-2007 at 06:42 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.