Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreamoro/a25168ab84859ac69491fc0546fd4ab9 to your computer and use it in GitHub Desktop.
Save andreamoro/a25168ab84859ac69491fc0546fd4ab9 to your computer and use it in GitHub Desktop.
Pyenv and Python 3.9.1. - BUILD FAILED on Big Sur - config.log file
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by python configure 3.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Users/andreamoro/.pyenv/versions/3.9.1 --libdir=/Users/andreamoro/.pyenv/versions/3.9.1/lib --with-openssl=/Users/andreamoro/homebrew/opt/openssl@1.1
## --------- ##
## Platform. ##
## --------- ##
hostname = MAC-C02XM3X9JHCD
uname -m = x86_64
uname -r = 20.5.0
uname -s = Darwin
uname -v = Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 8.00 gigabytes
Default processor set: 480 tasks, 2519 threads, 8 processors
Load average: 2.43, Mach factor: 5.55
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Users/andreamoro/.pyenv/libexec
PATH: /Users/andreamoro/.pyenv/plugins/python-build/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-virtualenv/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-update/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-installer/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-doctor/bin
PATH: /Users/andreamoro/.pyenv/plugins/python-build/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-virtualenv/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-update/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-installer/bin
PATH: /Users/andreamoro/.pyenv/plugins/pyenv-doctor/bin
PATH: /Users/andreamoro/.pyenv/shims
PATH: /Users/andreamoro/.pyenv/bin
PATH: /Users/andreamoro/homebrew/bin
PATH: /usr/local/Cellar
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2846: checking build system type
configure:2860: result: x86_64-apple-darwin20.5.0
configure:2880: checking host system type
configure:2893: result: x86_64-apple-darwin20.5.0
configure:2923: checking for python3.9
configure:2939: found /Users/andreamoro/homebrew/bin/python3.9
configure:2950: result: python3.9
configure:3044: checking for --enable-universalsdk
configure:3091: result: no
configure:3114: checking for --with-universal-archs
configure:3129: result: no
configure:3285: checking MACHDEP
configure:3336: result: "darwin"
configure:3630: checking for gcc
configure:3657: result: gcc-10
configure:3886: checking for C compiler version
configure:3895: gcc-10 --version >&5
./configure: line 3897: gcc-10: command not found
configure:3906: $? = 127
configure:3895: gcc-10 -v >&5
./configure: line 3897: gcc-10: command not found
configure:3906: $? = 127
configure:3895: gcc-10 -V >&5
./configure: line 3897: gcc-10: command not found
configure:3906: $? = 127
configure:3895: gcc-10 -qversion >&5
./configure: line 3897: gcc-10: command not found
configure:3906: $? = 127
configure:3926: checking whether the C compiler works
configure:3948: gcc-10 -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/.pyenv/versions/3.9.1/include -I/Users/andreamoro/homebrew/opt/xz/include -L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/.pyenv/versions/3.9.1/lib -L/Users/andreamoro/homebrew/opt/xz/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib conftest.c >&5
./configure: line 3950: gcc-10: command not found
configure:3952: $? = 127
configure:3990: result: no
configure: failed program was:
| /* confdefs.h */
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _DARWIN_C_SOURCE 1
| #define _PYTHONFRAMEWORK ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3995: error: in `/var/folders/c_/ll8fp86d39d2qthh_cbg8vlc0000gp/T/python-build.20210702131221.79294/Python-3.9.1':
configure:3997: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin20.5.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc-10
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/.pyenv/versions/3.9.1/include -I/Users/andreamoro/homebrew/opt/xz/include '
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/.pyenv/versions/3.9.1/lib -L/Users/andreamoro/homebrew/opt/xz/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MACHDEP_set=
ac_cv_env_MACHDEP_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value='/Users/andreamoro/homebrew/opt/openssl@1.1/lib/pkgconfig/:/Users/andreamoro/homebrew/opt/xz/lib/pkgconfig /Users/andreamoro/homebrew/opt/tcl-tk/lib/pkgconfig /usr/local/opt/icu4c/lib/pkgconfig'
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PROFILE_TASK_set=
ac_cv_env_PROFILE_TASK_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-apple-darwin20.5.0
ac_cv_prog_PYTHON_FOR_REGEN=python3.9
ac_cv_prog_ac_ct_CC=gcc-10
## ----------------- ##
## Output variables. ##
## ----------------- ##
ABIFLAGS=''
ALT_SOABI=''
AR=''
ARCH_RUN_32BIT=''
ARFLAGS=''
BASECFLAGS=''
BASECPPFLAGS=''
BINLIBDEST=''
BLDLIBRARY=''
BLDSHARED=''
BUILDEXEEXT=''
CC='gcc-10'
CCSHARED=''
CFLAGS='-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include '
CFLAGSFORSHARED=''
CFLAGS_ALIASING=''
CFLAGS_NODIST=''
CONFIGURE_MACOSX_DEPLOYMENT_TARGET=''
CONFIG_ARGS=' '\''--prefix=/Users/andreamoro/.pyenv/versions/3.9.1'\'' '\''--libdir=/Users/andreamoro/.pyenv/versions/3.9.1/lib'\'' '\''--with-openssl=/Users/andreamoro/homebrew/opt/openssl@1.1'\'' '\''CC=gcc-10'\'' '\''CFLAGS=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include '\'' '\''LDFLAGS=-L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/.pyenv/versions/3.9.1/lib -L/Users/andreamoro/homebrew/opt/xz/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib'\'' '\''CPPFLAGS=-I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/.pyenv/versions/3.9.1/include -I/Users/andreamoro/homebrew/opt/xz/include '\'' '\''PKG_CONFIG_PATH=/Users/andreamoro/homebrew/opt/openssl@1.1/lib/pkgconfig/:/Users/andreamoro/homebrew/opt/xz/lib/pkgconfig /Users/andreamoro/homebrew/opt/tcl-tk/lib/pkgconfig /usr/local/opt/icu4c/lib/pkgconfig'\'''
CPP=''
CPPFLAGS='-I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/homebrew/opt/readline/include -I/Users/andreamoro/.pyenv/versions/3.9.1/include -I/Users/andreamoro/homebrew/opt/xz/include '
CXX='g++-10'
DEFS=''
DEF_MAKE_ALL_RULE=''
DEF_MAKE_RULE=''
DFLAGS=''
DLINCLDIR=''
DLLLIBRARY=''
DTRACE=''
DTRACE_HEADERS=''
DTRACE_OBJS=''
DYNLOADFILE=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
ENSUREPIP=''
EXEEXT=''
EXPORTSFROM=''
EXPORTSYMS=''
EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
EXT_SUFFIX=''
FRAMEWORKALTINSTALLFIRST=''
FRAMEWORKALTINSTALLLAST=''
FRAMEWORKINSTALLAPPSPREFIX=''
FRAMEWORKINSTALLFIRST=''
FRAMEWORKINSTALLLAST=''
FRAMEWORKPYTHONW=''
FRAMEWORKUNIXTOOLSPREFIX='/Users/andreamoro/.pyenv/versions/3.9.1'
GITBRANCH=''
GITTAG=''
GITVERSION=''
GNULD=''
GREP=''
HAS_GIT='no-repository'
HAVE_GETHOSTBYNAME=''
HAVE_GETHOSTBYNAME_R=''
HAVE_GETHOSTBYNAME_R_3_ARG=''
HAVE_GETHOSTBYNAME_R_5_ARG=''
HAVE_GETHOSTBYNAME_R_6_ARG=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTSONAME=''
LDCXXSHARED=''
LDFLAGS='-L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/homebrew/opt/readline/lib -L/Users/andreamoro/.pyenv/versions/3.9.1/lib -L/Users/andreamoro/homebrew/opt/xz/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib'
LDFLAGS_NODIST=''
LDLIBRARY=''
LDLIBRARYDIR=''
LDSHARED=''
LDVERSION=''
LIBC=''
LIBFFI_INCLUDEDIR=''
LIBM=''
LIBOBJS=''
LIBPL=''
LIBPYTHON=''
LIBRARY=''
LIBS=''
LIBTOOL_CRUFT=''
LINKCC=''
LINKFORSHARED=''
LIPO_32BIT_FLAGS=''
LLVM_AR=''
LLVM_AR_FOUND=''
LLVM_PROFDATA=''
LLVM_PROF_ERR=''
LLVM_PROF_FILE=''
LLVM_PROF_FOUND=''
LLVM_PROF_MERGER=''
LN=''
LTLIBOBJS=''
MACHDEP='darwin'
MACHDEP_OBJS=''
MAINCC=''
MKDIR_P=''
MULTIARCH=''
MULTIARCH_CPPFLAGS=''
NO_AS_NEEDED=''
OBJEXT=''
OPENSSL_INCLUDES=''
OPENSSL_LDFLAGS=''
OPENSSL_LIBS=''
OPT=''
OTHER_LIBTOOL_OPT=''
PACKAGE_BUGREPORT='https://bugs.python.org/'
PACKAGE_NAME='python'
PACKAGE_STRING='python 3.9'
PACKAGE_TARNAME='python'
PACKAGE_URL=''
PACKAGE_VERSION='3.9'
PATH_SEPARATOR=':'
PGO_PROF_GEN_FLAG=''
PGO_PROF_USE_FLAG=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/Users/andreamoro/homebrew/opt/openssl@1.1/lib/pkgconfig/:/Users/andreamoro/homebrew/opt/xz/lib/pkgconfig /Users/andreamoro/homebrew/opt/tcl-tk/lib/pkgconfig /usr/local/opt/icu4c/lib/pkgconfig'
PLATFORM_TRIPLET=''
PLATLIBDIR=''
PROFILE_TASK=''
PY3LIBRARY=''
PYTHONFRAMEWORK=''
PYTHONFRAMEWORKDIR='no-framework'
PYTHONFRAMEWORKIDENTIFIER='org.python.python'
PYTHONFRAMEWORKINSTALLDIR=''
PYTHONFRAMEWORKPREFIX=''
PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
PYTHON_FOR_REGEN='python3.9'
PY_ENABLE_SHARED=''
READELF=''
RUNSHARED=''
SED=''
SHELL='/bin/sh'
SHLIBS=''
SHLIB_SUFFIX=''
SOABI=''
SOVERSION='1.0'
SRCDIRS=''
TCLTK_INCLUDES=''
TCLTK_LIBS=''
THREADHEADERS=''
TRUE=''
TZPATH=''
UNIVERSALSDK=''
UNIVERSAL_ARCH_FLAGS=''
VERSION='3.9'
_PYTHON_HOST_PLATFORM=''
ac_ct_AR=''
ac_ct_CC='gcc-10'
ac_ct_CXX=''
ac_ct_READELF=''
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin20.5.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin20.5.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-apple-darwin20.5.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin20.5.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='/Users/andreamoro/.pyenv/versions/3.9.1/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/Users/andreamoro/.pyenv/versions/3.9.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define _GNU_SOURCE 1
#define _NETBSD_SOURCE 1
#define __BSD_VISIBLE 1
#define _DARWIN_C_SOURCE 1
#define _PYTHONFRAMEWORK ""
configure: exit 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment