classification
Title: setup openssl faild on linux (ubuntu 20.04)
Type: Stage:
Components: SSL Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Battant
Priority: normal Keywords:

Created on 2021-06-05 19:40 by Battant, last changed 2021-06-05 21:01 by christian.heimes.

Messages (1)
msg395180 - (view) Author: Battant (Battant) Date: 2021-06-05 19:40
Hello,
Here is my configuration


command for ubuntu distributions

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal

linux kernel version
uname -r
5.4.0-74-generic


Step to reproduce

1. compile openssl 1.1.1

https://stackoverflow.com/questions/53543477/building-python-3-7-1-ssl-module-failed


clone cpython on main branch
https://github.com/python/cpython



comple python
go to module directory

run python3.11 setup.py install

Actuel result : 

I get this error : 

Could not build the ssl module!
Python requires a OpenSSL 1.1.1 or newer

running build_scripts
error: file '/usr/local/lib/python3.11/config-3.11-x86_64-linux-gnu/Tools/scripts/pydoc3' does not exist

Expend result :

python3.11 modules could be installed

Could you help me to fix this issus

Best regards

Battant
History
Date User Action Args
2021-06-05 21:01:31christian.heimessetassignee: christian.heimes ->

nosy: - christian.heimes
2021-06-05 19:40:30Battantcreate