源码安装python-3.8.4

环境:Ubuntu 14.04.6 LTS
gcc、g++:升级为9.3版本
python源码版本:python-3.8.4
直接./configure --prefix=/usr/local/python-3.8.4 --enable-optimizations 无误
make时报错:
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host()

解决:
1)、先在home目录下安装自己的openssl
https://help.dreamhost.com/hc/en-us/articles/360001435926-Installing-OpenSSL-locally-under-your-username

2)、
安装python
https://help.dreamhost.com/hc/en-us/articles/115000702772-Installing-a-custom-version-of-Python-3