Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EmilStenstrom/c0c2be063fb0a595c4639ea950d4421b to your computer and use it in GitHub Desktop.
Save EmilStenstrom/c0c2be063fb0a595c4639ea950d4421b to your computer and use it in GitHub Desktop.

Revisions

  1. EmilStenstrom created this gist Jun 11, 2019.
    800 changes: 800 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,800 @@
    ~ $ env PYENV_DEBUG=1 pyenv install -v 2.7.15
    + [pyenv:22] enable -f /usr/local/bin/../libexec/pyenv-realpath.dylib realpath
    + [pyenv:29] '[' -z '' ']'
    ++ [pyenv:31] type -p greadlink readlink
    ++ [pyenv:31] head -1
    + [pyenv:31] READLINK=/usr/bin/readlink
    + [pyenv:32] '[' -n /usr/bin/readlink ']'
    + [pyenv:54] '[' -z '' ']'
    + [pyenv:55] PYENV_ROOT=/Users/EmilStenstrom/.pyenv
    + [pyenv:59] export PYENV_ROOT
    + [pyenv:62] '[' -z '' ']'
    + [pyenv:63] '[' -n '' ']'
    + [pyenv:79] '[' -z '' ']'
    + [pyenv:80] PYENV_DIR=/Users/EmilStenstrom
    + [pyenv:83] '[' '!' -d /Users/EmilStenstrom ']'
    + [pyenv:83] '[' '!' -e /Users/EmilStenstrom ']'
    ++ [pyenv:87] cd /Users/EmilStenstrom
    ++ [pyenv:87] echo /Users/EmilStenstrom
    + [pyenv:87] PYENV_DIR=/Users/EmilStenstrom
    + [pyenv:88] export PYENV_DIR
    + [pyenv:91] shopt -s nullglob
    ++ [pyenv:93] abs_dirname /usr/local/bin/pyenv
    ++ [pyenv:39] local path=/usr/local/bin/pyenv
    ++ [pyenv:43] '[' -n /usr/local/bin/pyenv ']'
    ++ [pyenv:44] cd /usr/local/bin
    ++ [pyenv:45] local name=pyenv
    +++ [pyenv:46] resolve_link pyenv
    +++ [pyenv:35] /usr/bin/readlink pyenv
    ++ [pyenv:46] path=../Cellar/pyenv/1.2.11/bin/pyenv
    ++ [pyenv:43] '[' -n ../Cellar/pyenv/1.2.11/bin/pyenv ']'
    ++ [pyenv:44] cd ../Cellar/pyenv/1.2.11/bin
    ++ [pyenv:45] local name=pyenv
    +++ [pyenv:46] resolve_link pyenv
    +++ [pyenv:35] /usr/bin/readlink pyenv
    ++ [pyenv:46] path=../libexec/pyenv
    ++ [pyenv:43] '[' -n ../libexec/pyenv ']'
    ++ [pyenv:44] cd ../libexec
    ++ [pyenv:45] local name=pyenv
    +++ [pyenv:46] resolve_link pyenv
    +++ [pyenv:35] /usr/bin/readlink pyenv
    +++ [pyenv:46] true
    ++ [pyenv:46] path=
    ++ [pyenv:43] '[' -n '' ']'
    ++ [pyenv:49] pwd
    + [pyenv:93] bin_path=/usr/local/Cellar/pyenv/1.2.11/libexec
    + [pyenv:94] for plugin_bin in "${PYENV_ROOT}/plugins/"*/bin
    + [pyenv:95] PATH='/Users/EmilStenstrom/.pyenv/plugins/pyenv-doctor/bin:/usr/local/opt/sqlite/bin:/Developer/NVIDIA/CUDA-9.0/bin:~/Applications/hfst/bin:/usr/local/heroku/bin:/usr/local/opt/make/libexec/gnubin:/Users/EmilStenstrom/.pyenv/libexec/pyenv:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/EmilStenstrom/.pyenv/shims:~/bin:/usr/local/opt/git/share/git-core/contrib/diff-highlight/:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/EmilStenstrom/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/opt/sqlite/bin:/Developer/NVIDIA/CUDA-9.0/bin:~/Applications/hfst/bin:/usr/local/heroku/bin:/Users/EmilStenstrom/.pyenv/libexec/pyenv:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/EmilStenstrom/.pyenv/shims:~/bin:/usr/local/opt/git/share/git-core/contrib/diff-highlight/:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/EmilStenstrom/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:.:~/Projects/operations/bin:.:~/Projects/operations/bin'
    + [pyenv:97] export 'PATH=/usr/local/Cellar/pyenv/1.2.11/libexec:/Users/EmilStenstrom/.pyenv/plugins/pyenv-doctor/bin:/usr/local/opt/sqlite/bin:/Developer/NVIDIA/CUDA-9.0/bin:~/Applications/hfst/bin:/usr/local/heroku/bin:/usr/local/opt/make/libexec/gnubin:/Users/EmilStenstrom/.pyenv/libexec/pyenv:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/EmilStenstrom/.pyenv/shims:~/bin:/usr/local/opt/git/share/git-core/contrib/diff-highlight/:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/EmilStenstrom/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/opt/sqlite/bin:/Developer/NVIDIA/CUDA-9.0/bin:~/Applications/hfst/bin:/usr/local/heroku/bin:/Users/EmilStenstrom/.pyenv/libexec/pyenv:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/EmilStenstrom/.pyenv/shims:~/bin:/usr/local/opt/git/share/git-core/contrib/diff-highlight/:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/EmilStenstrom/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:.:~/Projects/operations/bin:.:~/Projects/operations/bin'
    + [pyenv:97] PATH='/usr/local/Cellar/pyenv/1.2.11/libexec:/Users/EmilStenstrom/.pyenv/plugins/pyenv-doctor/bin:/usr/local/opt/sqlite/bin:/Developer/NVIDIA/CUDA-9.0/bin:~/Applications/hfst/bin:/usr/local/heroku/bin:/usr/local/opt/make/libexec/gnubin:/Users/EmilStenstrom/.pyenv/libexec/pyenv:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/EmilStenstrom/.pyenv/shims:~/bin:/usr/local/opt/git/share/git-core/contrib/diff-highlight/:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/EmilStenstrom/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/opt/sqlite/bin:/Developer/NVIDIA/CUDA-9.0/bin:~/Applications/hfst/bin:/usr/local/heroku/bin:/Users/EmilStenstrom/.pyenv/libexec/pyenv:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/EmilStenstrom/.pyenv/shims:~/bin:/usr/local/opt/git/share/git-core/contrib/diff-highlight/:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/EmilStenstrom/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:.:~/Projects/operations/bin:.:~/Projects/operations/bin'
    + [pyenv:99] PYENV_HOOK_PATH=:/Users/EmilStenstrom/.pyenv/pyenv.d
    + [pyenv:100] '[' /usr/local/Cellar/pyenv/1.2.11 '!=' /Users/EmilStenstrom/.pyenv ']'
    + [pyenv:102] PYENV_HOOK_PATH=:/Users/EmilStenstrom/.pyenv/pyenv.d:/usr/local/Cellar/pyenv/1.2.11/pyenv.d
    + [pyenv:104] PYENV_HOOK_PATH=:/Users/EmilStenstrom/.pyenv/pyenv.d:/usr/local/Cellar/pyenv/1.2.11/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
    + [pyenv:108] PYENV_HOOK_PATH=/Users/EmilStenstrom/.pyenv/pyenv.d:/usr/local/Cellar/pyenv/1.2.11/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
    + [pyenv:109] export PYENV_HOOK_PATH
    + [pyenv:111] shopt -u nullglob
    + [pyenv:114] command=install
    + [pyenv:115] case "$command" in
    ++ [pyenv:128] command -v pyenv-install
    + [pyenv:128] command_path=/usr/local/bin/pyenv-install
    + [pyenv:129] '[' -z /usr/local/bin/pyenv-install ']'
    + [pyenv:137] shift 1
    + [pyenv:138] '[' -v = --help ']'
    + [pyenv:145] exec /usr/local/bin/pyenv-install -v 2.7.15
    + [pyenv-install:32] shopt -s nullglob
    + [pyenv-install:36] export PYTHON_BUILD_DEFINITIONS
    + [pyenv-install:37] shopt -u nullglob
    + [pyenv-install:40] '[' -v = --complete ']'
    ++ [pyenv-install:53] python-build --lib
    + [pyenv-install:53] eval 'lib ()
    {
    function parse_options ()
    {
    OPTIONS=();
    ARGUMENTS=();
    local arg option index;
    for arg in "$@";
    do
    if [ "${arg:0:1}" = "-" ]; then
    if [ "${arg:1:1}" = "-" ]; then
    OPTIONS[${#OPTIONS[*]}]="${arg:2}";
    else
    index=1;
    while option="${arg:$index:1}"; do
    [ -n "$option" ] || break;
    OPTIONS[${#OPTIONS[*]}]="$option";
    index=$(($index+1));
    done;
    fi;
    else
    ARGUMENTS[${#ARGUMENTS[*]}]="$arg";
    fi;
    done
    };
    if [ "$1" == "--$FUNCNAME" ]; then
    declare -f "$FUNCNAME";
    echo "$FUNCNAME \"\$1\";";
    exit;
    fi
    }
    lib "$1";'
    ++ [pyenv-install:84] lib -v
    ++ [pyenv-install:78] '[' -v == --lib ']'
    + [pyenv-install:69] unset FORCE
    + [pyenv-install:70] unset SKIP_EXISTING
    + [pyenv-install:71] unset KEEP
    + [pyenv-install:72] unset VERBOSE
    + [pyenv-install:73] unset HAS_PATCH
    + [pyenv-install:74] unset DEBUG
    + [pyenv-install:76] parse_options -v 2.7.15
    + [pyenv-install:57] OPTIONS=()
    + [pyenv-install:58] ARGUMENTS=()
    + [pyenv-install:59] local arg option index
    + [pyenv-install:60] for arg in "$@"
    + [pyenv-install:62] '[' - = - ']'
    + [pyenv-install:63] '[' v = - ']'
    + [pyenv-install:66] index=1
    + [pyenv-install:67] option=v
    + [pyenv-install:68] '[' -n v ']'
    + [pyenv-install:69] OPTIONS[${#OPTIONS[*]}]=v
    + [pyenv-install:70] index=2
    + [pyenv-install:67] option=
    + [pyenv-install:68] '[' -n '' ']'
    + [pyenv-install:68] break
    + [pyenv-install:60] for arg in "$@"
    + [pyenv-install:62] '[' 2 = - ']'
    + [pyenv-install:74] ARGUMENTS[${#ARGUMENTS[*]}]=2.7.15
    + [pyenv-install:77] for option in "${OPTIONS[@]}"
    + [pyenv-install:78] case "$option" in
    + [pyenv-install:97] VERBOSE=-v
    + [pyenv-install:114] '[' 1 -le 1 ']'
    + [pyenv-install:116] unset VERSION_NAME
    + [pyenv-install:122] DEFINITION=2.7.15
    + [pyenv-install:123] '[' -n 2.7.15 ']'
    + [pyenv-install:124] '[' -n 2.7.15 ']'
    + [pyenv-install:129] declare -a before_hooks after_hooks
    + [pyenv-install:141] OLDIFS='
    '
    + [pyenv-install:142] IFS='
    '
    + [pyenv-install:142] scripts=(`pyenv-hooks install`)
    ++ [pyenv-install:142] pyenv-hooks install
    + [pyenv-hooks:9] '[' install = --complete ']'
    + [pyenv-hooks:18] PYENV_COMMAND=install
    + [pyenv-hooks:19] '[' -z install ']'
    + [pyenv-hooks:24] enable -f /usr/local/Cellar/pyenv/1.2.11/libexec/pyenv-realpath.dylib realpath
    + [pyenv-hooks:55] IFS=:
    + [pyenv-hooks:55] hook_paths=($PYENV_HOOK_PATH)
    + [pyenv-hooks:57] shopt -s nullglob
    + [pyenv-hooks:58] for path in "${hook_paths[@]}"
    + [pyenv-hooks:58] for path in "${hook_paths[@]}"
    + [pyenv-hooks:58] for path in "${hook_paths[@]}"
    + [pyenv-hooks:58] for path in "${hook_paths[@]}"
    + [pyenv-hooks:58] for path in "${hook_paths[@]}"
    + [pyenv-hooks:63] shopt -u nullglob
    + [pyenv-install:143] IFS='
    '
    + [pyenv-install:149] '[' -n '' ']'
    + [pyenv-install:149] VERSION_NAME=2.7.15
    + [pyenv-install:150] '[' -n '' ']'
    + [pyenv-install:151] PREFIX=/Users/EmilStenstrom/.pyenv/versions/2.7.15
    + [pyenv-install:153] '[' -d /Users/EmilStenstrom/.pyenv/versions/2.7.15 ']'
    + [pyenv-install:157] '[' -d /Users/EmilStenstrom/.pyenv/versions/2.7.15/bin ']'
    + [pyenv-install:175] '[' -n '' ']'
    + [pyenv-install:182] '[' -z '' ']'
    + [pyenv-install:182] '[' -d /Users/EmilStenstrom/.pyenv/cache ']'
    + [pyenv-install:186] '[' -z '' ']'
    + [pyenv-install:187] case "${VERSION_NAME}" in
    + [pyenv-install:193] for version_info in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"
    ++ [pyenv-install:195] pyenv-whence python2.7.15
    ++ [pyenv-install:195] true
    + [pyenv-install:193] for version_info in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"
    ++ [pyenv-install:195] pyenv-whence python2.7
    ++ [pyenv-install:195] true
    + [pyenv-install:193] for version_info in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"
    ++ [pyenv-install:195] pyenv-whence python2
    ++ [pyenv-install:195] true
    + [pyenv-install:230] '[' -n '' ']'
    + [pyenv-install:242] trap cleanup SIGINT
    + [pyenv-install:245] STATUS=0
    + [pyenv-install:246] python-build -v 2.7.15 /Users/EmilStenstrom/.pyenv/versions/2.7.15
    python-build: use openssl from homebrew
    python-build: use readline from homebrew
    /var/folders/j6/d9hx90192gvfglw4nbn49y8c0000gn/T/python-build.20190611222656.83896 ~
    Downloading Python-2.7.15.tar.xz...
    -> https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz
    /var/folders/j6/d9hx90192gvfglw4nbn49y8c0000gn/T/python-build.20190611222656.83896/Python-2.7.15 /var/folders/j6/d9hx90192gvfglw4nbn49y8c0000gn/T/python-build.20190611222656.83896 ~
    Installing Python-2.7.15...
    python-build: use readline from homebrew
    checking build system type... x86_64-apple-darwin18.6.0
    checking host system type... x86_64-apple-darwin18.6.0
    checking for python2.7... python2.7
    checking for --enable-universalsdk... no
    checking for --with-universal-archs... no
    checking MACHDEP... darwin
    checking EXTRAPLATDIR... $(PLATMACDIRS)
    checking for --without-gcc... no
    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... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether clang accepts -g... yes
    checking for clang option to accept ISO C89... none needed
    checking for --with-cxx-main=<compiler>... no
    checking for c++... c++
    configure: WARNING:

    By default, distutils will build C++ extension modules with "c++".
    If this is not intended, then set CXX on the configure command line.

    checking how to run the C preprocessor... clang -E
    checking for grep that handles long lines and -e... /usr/local/bin/ggrep
    checking for egrep... /usr/local/bin/ggrep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for --with-suffix...
    checking for case-insensitive build directory... yes
    checking LIBRARY... libpython$(VERSION).a
    checking LINKCC... $(PURIFY) $(MAINCC)
    checking for GNU ld... no
    checking for --enable-shared... no
    checking for --enable-profiling... no
    checking LDLIBRARY... libpython$(VERSION).a
    checking for ranlib... ranlib
    checking for ar... ar
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for a thread-safe mkdir -p... ./install-sh -c -d
    checking for --with-pydebug... no
    checking whether clang accepts -fno-strict-aliasing... yes
    checking which MACOSX_DEPLOYMENT_TARGET to use... 10.14
    checking whether clang accepts -OPT:Olimit=0... no
    checking whether clang accepts -Olimit 1500... no
    checking whether gcc supports ParseTuple __format__... no
    checking for --enable-optimizations... no
    checking for --with-lto... no
    checking target system type... x86_64-apple-darwin18.6.0
    checking for -llvm-profdata... no
    checking for llvm-profdata... ''
    configure: llvm-profdata found via xcrun: /usr/bin/xcrun llvm-profdata
    checking whether pthreads are available without options... yes
    checking whether c++ also accepts flags for thread support... no
    checking for ANSI C header files... (cached) yes
    checking asm/types.h usability... no
    checking asm/types.h presence... no
    checking for asm/types.h... no
    checking crypt.h usability... no
    checking crypt.h presence... no
    checking for crypt.h... no
    checking conio.h usability... no
    checking conio.h presence... no
    checking for conio.h... no
    checking direct.h usability... no
    checking direct.h presence... no
    checking for direct.h... no
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking grp.h usability... yes
    checking grp.h presence... yes
    checking for grp.h... yes
    checking ieeefp.h usability... no
    checking ieeefp.h presence... no
    checking for ieeefp.h... no
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking langinfo.h usability... yes
    checking langinfo.h presence... yes
    checking for langinfo.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking process.h usability... no
    checking process.h presence... no
    checking for process.h... no
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking shadow.h usability... no
    checking shadow.h presence... no
    checking for shadow.h... no
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking for stdint.h... (cached) yes
    checking stropts.h usability... no
    checking stropts.h presence... no
    checking for stropts.h... no
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking thread.h usability... no
    checking thread.h presence... no
    checking for thread.h... no
    checking for unistd.h... (cached) yes
    checking utime.h usability... yes
    checking utime.h presence... yes
    checking for utime.h... yes
    checking sys/audioio.h usability... no
    checking sys/audioio.h presence... no
    checking for sys/audioio.h... no
    checking sys/bsdtty.h usability... no
    checking sys/bsdtty.h presence... no
    checking for sys/bsdtty.h... no
    checking sys/epoll.h usability... no
    checking sys/epoll.h presence... no
    checking for sys/epoll.h... no
    checking sys/event.h usability... yes
    checking sys/event.h presence... yes
    checking for sys/event.h... yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking sys/loadavg.h usability... no
    checking sys/loadavg.h presence... no
    checking for sys/loadavg.h... no
    checking sys/lock.h usability... yes
    checking sys/lock.h presence... yes
    checking for sys/lock.h... yes
    checking sys/mkdev.h usability... no
    checking sys/mkdev.h presence... no
    checking for sys/mkdev.h... no
    checking sys/modem.h usability... no
    checking sys/modem.h presence... no
    checking for sys/modem.h... no
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking sys/random.h usability... yes
    checking sys/random.h presence... yes
    checking for sys/random.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking for sys/stat.h... (cached) yes
    checking sys/termio.h usability... no
    checking sys/termio.h presence... no
    checking for sys/termio.h... no
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking sys/times.h usability... yes
    checking sys/times.h presence... yes
    checking for sys/times.h... yes
    checking for sys/types.h... (cached) yes
    checking sys/un.h usability... yes
    checking sys/un.h presence... yes
    checking for sys/un.h... yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking sys/wait.h usability... yes
    checking sys/wait.h presence... yes
    checking for sys/wait.h... yes
    checking pty.h usability... no
    checking pty.h presence... no
    checking for pty.h... no
    checking libutil.h usability... no
    checking libutil.h presence... no
    checking for libutil.h... no
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking netpacket/packet.h usability... no
    checking netpacket/packet.h presence... no
    checking for netpacket/packet.h... no
    checking sysexits.h usability... yes
    checking sysexits.h presence... yes
    checking for sysexits.h... yes
    checking bluetooth.h usability... no
    checking bluetooth.h presence... no
    checking for bluetooth.h... no
    checking bluetooth/bluetooth.h usability... no
    checking bluetooth/bluetooth.h presence... no
    checking for bluetooth/bluetooth.h... no
    checking linux/tipc.h usability... no
    checking linux/tipc.h presence... no
    checking for linux/tipc.h... no
    checking spawn.h usability... yes
    checking spawn.h presence... yes
    checking for spawn.h... yes
    checking util.h usability... yes
    checking util.h presence... yes
    checking for util.h... yes
    checking alloca.h usability... yes
    checking alloca.h presence... yes
    checking for alloca.h... yes
    checking sys/sysmacros.h usability... no
    checking sys/sysmacros.h presence... no
    checking for sys/sysmacros.h... no
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking whether sys/types.h defines makedev... yes
    checking for linux/netlink.h... no
    checking for clock_t in time.h... yes
    checking for makedev... yes
    checking Solaris LFS bug... no
    checking for mode_t... yes
    checking for off_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking for uid_t in sys/types.h... yes
    checking for uint32_t... yes
    checking for uint32_t... yes
    checking for uint64_t... yes
    checking for uint64_t... yes
    checking for int32_t... yes
    checking for int32_t... yes
    checking for int64_t... yes
    checking for int64_t... yes
    checking for ssize_t... yes
    checking size of int... 4
    checking size of long... 8
    checking size of void *... 8
    checking size of short... 2
    checking size of float... 4
    checking size of double... 8
    checking size of fpos_t... 8
    checking size of size_t... 8
    checking size of pid_t... 4
    checking for long long support... yes
    checking size of long long... 8
    checking for long double support... yes
    checking size of long double... 16
    checking for _Bool support... yes
    checking size of _Bool... 1
    checking for uintptr_t... yes
    checking size of uintptr_t... 8
    checking size of off_t... 8
    checking whether to enable large file support... no
    checking size of time_t... 8
    checking for pthread_t... yes
    checking size of pthread_t... 8
    checking for --enable-toolbox-glue... yes
    checking for --enable-framework... no
    checking for dyld... always on for Darwin
    checking SO... .so
    checking LDSHARED... $(CC) -bundle -undefined dynamic_lookup
    checking CCSHARED...
    checking LINKFORSHARED... -u _PyMac_Error
    checking CFLAGSFORSHARED...
    checking SHLIBS... $(LIBS)
    checking for dlopen in -ldl... yes
    checking for shl_load in -ldld... no
    checking for library containing sem_init... none required
    checking for textdomain in -lintl... yes
    checking for t_open in -lnsl... no
    checking for socket in -lsocket... no
    checking for --with-libs... no
    checking for pkg-config... /usr/local/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for --with-system-expat... no
    checking for --with-system-ffi... no
    checking for --with-tcltk-includes... default
    checking for --with-tcltk-libs... default
    checking for --with-dbmliborder...
    checking for --with-signal-module... yes
    checking for --with-dec-threads... no
    checking for --with-threads... yes
    checking if PTHREAD_SCOPE_SYSTEM is supported... yes
    checking for pthread_sigmask... yes
    checking for pthread_atfork... yes
    checking if --enable-ipv6 is specified... yes
    checking if RFC2553 API is available... yes
    checking ipv6 stack type... kame
    using libc
    checking for OSX 10.5 SDK or later... yes
    checking for --with-doc-strings... yes
    checking for --with-tsc... no
    checking for --with-pymalloc... yes
    checking for --with-valgrind... no
    checking for --with-wctype-functions... no
    checking for dlopen... yes
    checking DYNLOADFILE... dynload_shlib.o
    checking MACHDEP_OBJS... MACHDEP_OBJS
    checking for alarm... yes
    checking for setitimer... yes
    checking for getitimer... yes
    checking for bind_textdomain_codeset... no
    checking for chown... yes
    checking for clock... yes
    checking for confstr... yes
    checking for ctermid... yes
    checking for execv... yes
    checking for fchmod... yes
    checking for fchown... yes
    checking for fork... yes
    checking for fpathconf... yes
    checking for ftime... yes
    checking for ftruncate... yes
    checking for gai_strerror... yes
    checking for getgroups... yes
    checking for getlogin... yes
    checking for getloadavg... yes
    checking for getpeername... yes
    checking for getpgid... yes
    checking for getpid... yes
    checking for getentropy... yes
    checking for getpriority... yes
    checking for getresuid... no
    checking for getresgid... no
    checking for getpwent... yes
    checking for getspnam... no
    checking for getspent... no
    checking for getsid... yes
    checking for getwd... yes
    checking for initgroups... yes
    checking for kill... yes
    checking for killpg... yes
    checking for lchmod... yes
    checking for lchown... yes
    checking for lstat... yes
    checking for mkfifo... yes
    checking for mknod... yes
    checking for mktime... yes
    checking for mmap... yes
    checking for mremap... no
    checking for nice... yes
    checking for pathconf... yes
    checking for pause... yes
    checking for plock... no
    checking for poll... yes
    checking for pthread_init... no
    checking for putenv... yes
    checking for readlink... yes
    checking for realpath... yes
    checking for select... yes
    checking for sem_open... yes
    checking for sem_timedwait... no
    checking for sem_getvalue... yes
    checking for sem_unlink... yes
    checking for setegid... yes
    checking for seteuid... yes
    checking for setgid... yes
    checking for setlocale... yes
    checking for setregid... yes
    checking for setreuid... yes
    checking for setsid... yes
    checking for setpgid... yes
    checking for setpgrp... yes
    checking for setuid... yes
    checking for setvbuf... yes
    checking for snprintf... yes
    checking for setlocale... (cached) yes
    checking for setregid... (cached) yes
    checking for setreuid... (cached) yes
    checking for setresuid... no
    checking for setresgid... no
    checking for setsid... (cached) yes
    checking for setpgid... (cached) yes
    checking for setpgrp... (cached) yes
    checking for setuid... (cached) yes
    checking for setvbuf... (cached) yes
    checking for snprintf... (cached) yes
    checking for sigaction... yes
    checking for siginterrupt... yes
    checking for sigrelse... yes
    checking for strftime... yes
    checking for sysconf... yes
    checking for tcgetpgrp... yes
    checking for tcsetpgrp... yes
    checking for tempnam... yes
    checking for timegm... yes
    checking for times... yes
    checking for tmpfile... yes
    checking for tmpnam... yes
    checking for tmpnam_r... no
    checking for truncate... yes
    checking for uname... yes
    checking for unsetenv... yes
    checking for utimes... yes
    checking for waitpid... yes
    checking for wait3... yes
    checking for wait4... yes
    checking for wcscoll... yes
    checking for _getpty... no
    checking for chroot... yes
    checking for link... yes
    checking for symlink... yes
    checking for fchdir... yes
    checking for fsync... yes
    checking for fdatasync... no
    checking for epoll... no
    checking for kqueue... yes
    checking for ctermid_r... yes
    checking for flock declaration... yes
    checking for flock... yes
    checking for getpagesize... yes
    checking for broken unsetenv... no
    checking for true... true
    checking for inet_aton in -lc... yes
    checking for chflags... yes
    checking for lchflags... yes
    checking for inflateCopy in -lz... yes
    checking for hstrerror... yes
    checking for inet_aton... yes
    checking for inet_pton... yes
    checking for setgroups... yes
    checking for openpty... yes
    checking for forkpty... yes
    checking for memmove... yes
    checking for fseek64... no
    checking for fseeko... yes
    checking for fstatvfs... yes
    checking for ftell64... no
    checking for ftello... yes
    checking for statvfs... yes
    checking for dup2... yes
    checking for getcwd... yes
    checking for strdup... yes
    checking for getpgrp... yes
    checking for setpgrp... (cached) yes
    checking for gettimeofday... yes
    checking for major... yes
    checking for getaddrinfo... yes
    checking getaddrinfo bug... no
    checking for getnameinfo... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for struct tm.tm_zone... yes
    checking for struct stat.st_rdev... yes
    checking for struct stat.st_blksize... yes
    checking for struct stat.st_flags... yes
    checking for struct stat.st_gen... yes
    checking for struct stat.st_birthtime... yes
    checking for struct stat.st_blocks... yes
    checking for time.h that defines altzone... no
    checking whether sys/select.h and sys/time.h may both be included... yes
    checking for addrinfo... yes
    checking for sockaddr_storage... yes
    checking whether char is unsigned... no
    checking for an ANSI C-conforming const... yes
    checking for working volatile... yes
    checking for working signed char... yes
    checking for prototypes... yes
    checking for variable length prototypes and stdarg.h... yes
    checking for socketpair... yes
    checking if sockaddr has sa_len member... yes
    checking whether va_list is an array... yes
    checking for gethostbyname_r... no
    checking for gethostbyname... yes
    checking for __fpu_control... no
    checking for __fpu_control in -lieee... no
    checking for --with-fpectl... no
    checking for --with-libm=STRING... default LIBM=""
    checking for --with-libc=STRING... default LIBC=""
    checking whether C doubles are little-endian IEEE 754 binary64... yes
    checking whether C doubles are big-endian IEEE 754 binary64... no
    checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no
    checking whether we can use gcc inline assembler to get and set x87 control word... yes
    checking for x87-style double rounding... no
    checking whether tanh preserves the sign of zero... yes
    checking for acosh... yes
    checking for asinh... yes
    checking for atanh... yes
    checking for copysign... yes
    checking for erf... yes
    checking for erfc... yes
    checking for expm1... yes
    checking for finite... yes
    checking for gamma... yes
    checking for hypot... yes
    checking for lgamma... yes
    checking for log1p... yes
    checking for round... yes
    checking for tgamma... yes
    checking whether isinf is declared... yes
    checking whether isnan is declared... yes
    checking whether isfinite is declared... yes
    checking whether POSIX semaphores are enabled... yes
    checking for broken sem_getvalue... yes
    checking digit size for Python's longs... no value specified
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking size of wchar_t... 4
    checking for UCS-4 tcl... no
    checking whether wchar_t is signed... yes
    checking what type to use for unicode... unsigned short
    checking whether byte ordering is bigendian... no
    checking whether right shift extends the sign bit... yes
    checking for getc_unlocked() and friends... yes
    checking how to link readline libs... -lreadline
    checking for rl_callback_handler_install in -lreadline... yes
    checking for rl_pre_input_hook in -lreadline... yes
    checking for rl_completion_display_matches_hook in -lreadline... yes
    checking for rl_resize_terminal in -lreadline... yes
    checking for rl_completion_matches in -lreadline... yes
    checking for broken nice()... no
    checking for broken poll()... no
    checking for struct tm.tm_zone... (cached) yes
    checking for working tzset()... yes
    checking for tv_nsec in struct stat... no
    checking for tv_nsec2 in struct stat... yes
    checking curses.h usability... yes
    checking curses.h presence... yes
    checking for curses.h... yes
    checking ncurses.h usability... yes
    checking ncurses.h presence... yes
    checking for ncurses.h... yes
    checking for term.h... yes
    checking whether mvwdelch is an expression... yes
    checking whether WINDOW has _flags... yes
    checking for is_pad... no
    checking for is_term_resized... yes
    checking for resize_term... yes
    checking for resizeterm... yes
    checking for immedok... yes
    checking for syncok... yes
    checking for wchgat... yes
    checking for filter... yes
    checking for has_key... yes
    checking for typeahead... yes
    checking for use_env... yes
    configure: checking for device files
    checking for /dev/ptmx... yes
    checking for /dev/ptc... no
    checking for %lld and %llu printf() format support... yes
    checking for %zd printf() format support... yes
    checking for socklen_t... yes
    checking for build directories... checking for --with-computed-gotos... no value specified
    checking whether clang supports computed gotos... yes
    done
    checking for ensurepip... no
    configure: creating ./config.status
    config.status: creating Makefile.pre
    config.status: creating Modules/Setup.config
    config.status: creating Misc/python.pc
    config.status: creating Modules/ld_so_aix
    config.status: creating pyconfig.h
    config.status: pyconfig.h is unchanged
    creating Modules/Setup
    creating Modules/Setup.local
    creating Makefile


    If you want a release build with all optimizations active (LTO, PGO, etc),
    please run ./configure --enable-optimizations


    make: *** No rule to make target 'pyconfig.h', needed by 'Modules/python.o'. Stop.
    make: *** Waiting for unfinished jobs....

    BUILD FAILED (OS X 10.14.5 using python-build 20180424)

    Inspect or clean up the working tree at /var/folders/j6/d9hx90192gvfglw4nbn49y8c0000gn/T/python-build.20190611222656.83896
    Results logged to /var/folders/j6/d9hx90192gvfglw4nbn49y8c0000gn/T/python-build.20190611222656.83896.log

    Last 10 log lines:
    creating Modules/Setup.local
    creating Makefile


    If you want a release build with all optimizations active (LTO, PGO, etc),
    please run ./configure --enable-optimizations


    make: *** No rule to make target 'pyconfig.h', needed by 'Modules/python.o'. Stop.
    make: *** Waiting for unfinished jobs....
    + [pyenv-install:246] STATUS=1
    + [pyenv-install:249] '[' 1 == 2 ']'
    + [pyenv-install:277] '[' 1 == 0 ']'
    + [pyenv-install:280] cleanup
    + [pyenv-install:239] '[' -z '' ']'
    + [pyenv-install:239] rm -rf /Users/EmilStenstrom/.pyenv/versions/2.7.15
    + [pyenv-install:283] exit 1