[Python-Dev] Re: compiled python3.10 is unable to find _ssl

2022-05-25 Thread Lou King
I should have mentioned, earlier I made these changes to Setup

2022-05-22 14:54 vim /home/lking/python/Python-3.10.4/Modules/Setup
207c207
< #_socket socketmodule.c
---
> _socket socketmodule.c
211,217c211,217
< # OPENSSL=/path/to/openssl/directory
< # _ssl _ssl.c \
< # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
< # -lssl -lcrypto
< #_hashlib _hashopenssl.c \
< # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
< # -lcrypto
---
> OPENSSL=/usr/local/custom-openssl
> _ssl _ssl.c \
> -I$(OPENSSL)/include -L$(OPENSSL)/lib \
> -lssl -lcrypto
> _hashlib _hashopenssl.c \
> -I$(OPENSSL)/include -L$(OPENSSL)/lib \
> -lcrypto
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/B4QRCLBVYGFJ62DRRFVINULYYA6E3NCX/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: compiled python3.10 is unable to find _ssl

2022-05-25 Thread Lou King
I should have mentioned, earlier I made these changes to Setup

2022-05-22 14:54 vim /home/lking/python/Python-3.10.4/Modules/Setup
207c207
< #_socket socketmodule.c
---
> _socket socketmodule.c
211,217c211,217
< # OPENSSL=/path/to/openssl/directory
< # _ssl _ssl.c \
< # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
< # -lssl -lcrypto
< #_hashlib _hashopenssl.c \
< # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
< # -lcrypto
---
> OPENSSL=/usr/local/custom-openssl
> _ssl _ssl.c \
> -I$(OPENSSL)/include -L$(OPENSSL)/lib \
> -lssl -lcrypto
> _hashlib _hashopenssl.c \
> -I$(OPENSSL)/include -L$(OPENSSL)/lib \
> -lcrypto
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ENGCKIYF4APIQ2ZEUIE5CYKR2J2HPKDI/
Code of Conduct: http://python.org/psf/codeofconduct/