This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Could not build the ssl module!
Type: compile error Stage: resolved
Components: macOS, SSL Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: christian.heimes, eamanu, ned.deily, ronaldoussoren, svaddi
Priority: normal Keywords:

Created on 2020-06-17 23:31 by svaddi, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python.compile.log svaddi, 2020-06-17 23:31
Messages (5)
msg371786 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2020-06-17 23:36
Thank you for your report but please stop filing all of these separate issues. :)  As is true on many platforms, you can't build Python on macOS without additional third-party libraries.  The Python Developer's Guide, among other places, has more information. https://devguide.python.org/setup/#macos-and-os-x
msg371787 - (view) Author: Emmanuel Arias (eamanu) * Date: 2020-06-17 23:49
Hi,

All issue opened seems to be the same:
https://bugs.python.org/issue41019
https://bugs.python.org/issue41018
https://bugs.python.org/issue41017
https://bugs.python.org/issue41016
https://bugs.python.org/issue41015
https://bugs.python.org/issue41014

Maybe should be great close them?
msg371791 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2020-06-18 05:58
I'm closing the ssl related issue. Please follow the documentation to install the necessary dependencies.
msg371807 - (view) Author: Sree Vaddi (svaddi) * Date: 2020-06-18 12:06
openssl brew installed and upto date.
despite build says it could not build the ssl module.
i followed the macos instructions at the dev guide. 

svaddi@cpython % brew --prefix openssl
/usr/local/opt/openssl@1.1
msg371827 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2020-06-18 16:57
You appear to be using the Developer Guide recipe for Python versions < 3.7. Try this one to get everything:

CPPFLAGS="-I$(brew --prefix openssl)/include" \
  LDFLAGS="-L$(brew --prefix openssl)/lib" \
  --with-openssl=$(brew --prefix openssl) \
  ./configure --with-pydebug
History
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85192
2020-06-18 16:57:15ned.deilysetmessages: + msg371827
2020-06-18 12:06:00svaddisetmessages: + msg371807
2020-06-18 05:58:23christian.heimessetstatus: open -> closed

type: compile error
assignee: christian.heimes
components: + SSL

nosy: + christian.heimes
messages: + msg371791
resolution: works for me
stage: resolved
2020-06-17 23:49:40eamanusetnosy: + eamanu
messages: + msg371787
2020-06-17 23:36:27ned.deilysetmessages: + msg371786
2020-06-17 23:31:58svaddicreate