Author ned.deily
Recipients m_python, ned.deily, ronaldoussoren
Date 2019-09-03.04:01:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567483300.53.0.618400563956.issue38014@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-09-03 04:01:40ned.deilysetrecipients: + ned.deily, ronaldoussoren, m_python
2019-09-03 04:01:40ned.deilysetmessageid: <1567483300.53.0.618400563956.issue38014@roundup.psfhosted.org>
2019-09-03 04:01:40ned.deilylinkissue38014 messages
2019-09-03 04:01:40ned.deilycreate