Ned Deily <n...@python.org> added the comment:

When building a default 64-bit-only Python on current MacOS systems, don't use 
the --enable-universalsdk (and --with-universal-arch) options to ./configure 
since system header files are no longer installed in /usr/include.

Be aware that you may have to supply some third-party libraries which are no 
longer or have never been shipped by Apple with macOS, most notably OpenSSL 
libraries and libzma.  The Python Developer's Guide gives some help on how to 
use versions of these libraries from third-party disrbutors Homebrew or 
MacPorts.

https://devguide.python.org/setup/#macos-and-os-x

Also suggest you first try building and installing without using 
--enable-optimizations as that option greatly lengthens and complicates the 
build process.

And you probably want to change --with-framework-name to python37 if you 
continue to use it.

The Python build information for current macOS systems is somewhat out-of-date; 
it should be getting updated in the next few weeks.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38014>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to