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 aprpp
Recipients aprpp
Date 2022-02-25.03:46:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645760809.24.0.711406085286.issue46854@roundup.psfhosted.org>
In-reply-to
Content
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):
array arraymodule.c # array objects
cmath cmathmodule.c _math.c # -lm # complex math library functions
math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
_contextvars _contextvarsmodule.c # Context Variables
_struct _struct.c # binary structure packing/unpacking

But there are still many modules that fail to compile, these modules with no commented out build definitions in the Modules/Setup.dist file. How do I add these modules build definitions to the Modules/Setup, yes they compile successfully ?

Failed to build these modules:
_bz2                  _ctypes               _ctypes_test
_decimal              _hashlib              _json
_lsprof               _lzma                 _multiprocessing
_opcode               _ssl                  _testbuffer
_testimportmultiple   _testmultiphase       _uuid
_xxtestfuzz           ossaudiodev           xxlimited
History
Date User Action Args
2022-02-25 03:46:49aprppsetrecipients: + aprpp
2022-02-25 03:46:49aprppsetmessageid: <1645760809.24.0.711406085286.issue46854@roundup.psfhosted.org>
2022-02-25 03:46:49aprpplinkissue46854 messages
2022-02-25 03:46:49aprppcreate