While building python from source on a MacOS, I accidntally overwrote the python that came with MacOS, now it doesn't have SSL. I tried to build again by running --with-ssl
option
./configure --with-ssl
but when I subsequently ran make
, it said this
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _ssl dl
imageop linuxaudiodev ossaudiodev
readline spwd sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
It's not clear to me from looking at setup.py
what I'm supposed to do to find the "necessary bits". What can I do to build python with SSL on MacOS?