Jeffrey Kintscher <websur...@surf2c.net> added the comment:

My mistake was not adding

--enable-framework=${HOME}/sandbox/src/python3.7/inst

to the configure script and then running

make
make install

(I know... read the README file)

gcc 8.3.0 doesn't like the Xcode system headers included by the .m files. I 
will dig into this now that I am using the proper build steps.

As a side note, I find it counter-intuitive that Mac/Makefile only gets invoked 
by 'make install' to build the Objective-C source files. IMHO they should be 
built by "make" and then installed by "make install". Forcing a build and 
install in one step can be dangerous and accidentally leave the system in an 
undesirable state when the build process fails with a partial install. Also, 
--enable-framework should use a subpath of --prefix by default for the 
framework installation instead of defaulting to /Library/Frameworks regardless 
of the --prefix setting.

----------

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

Reply via email to