On a fresh Debian 10 (buster) I am building Python-3.9-4 from source. Missing OS libraries cause a partial build. e.g.:
Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
The output suggests:
The necessary bits to build these optional modules were not found:
_bz2 _curses _curses_panel
_dbm _gdbm _hashlib
_lzma _sqlite3 _ssl
_tkinter _uuid readline
zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
but… is a list of Debian packages to install to complete the build available anywhere? I was able to figure out what I needed from the above but it seems logical for this info to be easily found. Maybe I overlooked it?