[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily
Ned Deily added the comment: “I would like to know what environment is the official recommendation for static python3.7 compilation.” There is no official recommendation. As I’ve mentioned, we normally do not build with modified Modules/Setup configurations when developing and releasing Pyth

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread aprpp
aprpp <916495...@qq.com> added the comment: I'm really sorry, I would like to know what environment is the official recommendation for static python3.7 compilation? What are the steps and commands for compilation officially required? Because the static python3.7 is very important to me, it ha

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily
Ned Deily added the comment: P.S. One other suggestion: try building a non-static version of Python 3.7 first, i.e. without modifying Modules/Setup, and, once you get that working, it should be easier to examine the output from the build and copy those paths that setup.py found into your Mod

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily
Ned Deily added the comment: Sorry, I'll repeat: "Successfully building a statically-linked version of Python depends greatly on the environment in which you are trying to build it and is really beyond the scope of this bug tracker." Note, a quick web search found this page which should give

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread aprpp
aprpp <916495...@qq.com> added the comment: As shown in the attachment, how should I add the definition of module _ctypes to Modules/Setup? Modules like _ctypes are not given in Modules/Setup.dist, I really don't know what they depend on -- Added file: https://bugs.python.org/file5064

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread aprpp
aprpp <916495...@qq.com> added the comment: The platform i build python3.7.12 on is Ubuntu18.04, I would like to know how the modules I fail to build, like _ctypes, should be added in Modules/Setup. The steps for my build are: 1.tar -zxvf Python-3.7.12.tgz && cd Python-3.7.12 2.edit Modules/Set

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread aprpp
Change by aprpp <916495...@qq.com>: -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily
Ned Deily added the comment: Successfully building a statically-linked version of Python depends greatly on the environment in which you are trying to build it and is really beyond the scope of this bug tracker. You don't say on which OS platform and version you are attempting this so it is

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread aprpp
aprpp <916495...@qq.com> added the comment: I have signed the contributor agreement -- ___ Python tracker ___ ___ Python-bugs-list

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue46854] Failed to compile static python3.7.12

2022-02-24 Thread aprpp
New submission from aprpp <916495...@qq.com>: I compile static version of python3.7.12, I added the static standard library that I want to compile in Modules/Setup, reference Modules/Setup.dist in python source, like this: static Modules that should always be present (non UNIX dependent): arr