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 Brian Spratke
Recipients Alex.Willmer, Brian Spratke
Date 2019-03-26.13:55:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553608524.58.0.377430259995.issue36438@roundup.psfhosted.org>
In-reply-to
Content
I apologize if this is a stupid question, but I am not very experienced building Python, or cross compiling.

While trying to cross compile Python 3.5.7 I can run configure, and make, but when I try to run 'make install' it throws the error posted below.  I was able to build with 3.5.1, but it appears that weakref.py has been added since then.  I think a lot of my problem is not understanding what the 'make install' step is doing.  Is it using python that is install on my Ubuntu machine? Is it trying to do another build step? Any help would be greatly appreciated.


Could not import runpy module
Traceback (most recent call last):
  File "./Lib/runpy.py", line 14, in <module>
    import importlib.machinery # importlib first so we can test #15386 via -m
  File "./Lib/importlib/__init__.py", line 57, in <module>
    import types
  File "./Lib/types.py", line 166, in <module>
    import functools as _functools
  File "./Lib/functools.py", line 23, in <module>
    from weakref import WeakKeyDictionary
  File "./Lib/weakref.py", line 12, in <module>
    from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
make[1]: *** [pybuilddir.txt] Error 1
make: *** [python-3.5.7] Error 1
History
Date User Action Args
2019-03-26 13:55:24Brian Spratkesetrecipients: + Brian Spratke, Alex.Willmer
2019-03-26 13:55:24Brian Spratkesetmessageid: <1553608524.58.0.377430259995.issue36438@roundup.psfhosted.org>
2019-03-26 13:55:24Brian Spratkelinkissue36438 messages
2019-03-26 13:55:24Brian Spratkecreate