pyenv install 3.7.1
python-build: use openssl from homebrew
python-build: use readline from homebrew
Downloading Python-3.7.1.tar.xz...
-> https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tar.xz
Installing Python-3.7.1...
python-build: use readline from homebrew
BUILD FAILED (OS X 10.14 using python-build 1.2.7-11-g835707da)
Inspect or clean up the working tree at /var/folders/p0/_5lf8w5d0sd92mnyq2zj20dm0000gn/T/python-build.20181027164510.63194
Results logged to /var/folders/p0/_5lf8w5d0sd92mnyq2zj20dm0000gn/T/python-build.20181027164510.63194.log
Last 10 log lines:
checking for --with-icc... no
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/var/folders/p0/_5lf8w5d0sd92mnyq2zj20dm0000gn/T/python-build.20181027164510.63194/Python-3.7.1':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
frida/frida#338
cd /Library/Developer/CommandLineTools/Packages/
open macOS_SDK_headers_for_macOS_10.14.pkg