Skip to content

Instantly share code, notes, and snippets.

@staticfloat
Created October 17, 2014 00:52
Show Gist options
  • Save staticfloat/744f49ec490ada0c5497 to your computer and use it in GitHub Desktop.
Save staticfloat/744f49ec490ada0c5497 to your computer and use it in GitHub Desktop.
python yosemite error
2014-10-16 17:49:16 -0700
./configure
--prefix=/usr/local/Cellar/python/2.7.8_2
--enable-ipv6
--datarootdir=/usr/local/Cellar/python/2.7.8_2/share
--datadir=/usr/local/Cellar/python/2.7.8_2/share
--enable-framework=/usr/local/Cellar/python/2.7.8_2/Frameworks
--without-gcc
CPPFLAGS=-I/usr/include
CFLAGS=-I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
LDFLAGS=-L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot
MACOSX_DEPLOYMENT_TARGET=10.10
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... darwin
checking EXTRAPLATDIR... $(PLATMACDIRS)
checking for --without-gcc... yes
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/python-2ilnha/Python-2.7.8':
configure: error: C compiler cannot create executables
See `config.log' for more details
HOMEBREW_VERSION: 0.9.5
HEAD: 841f0e76a4e4f7007b8bee1c7f332eb3b1279d2c
CPU: quad-core 64-bit haswell
OS X: 10.10-x86_64
Xcode: 6.0.1
X11: N/A
clang called with: -E -
superenv executed: clang -E - -isystem/usr/local/include -I/usr/local/opt/readline/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include
clang called with: --version
superenv executed: clang -pipe -Os -march=native --version -isystem/usr/local/include -I/usr/local/opt/readline/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang called with: -v
superenv executed: clang -v
clang called with: -V
superenv executed: clang -pipe -Os -march=native -V -isystem/usr/local/include -I/usr/local/opt/readline/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang called with: -qversion
superenv executed: clang -pipe -Os -march=native -qversion -isystem/usr/local/include -I/usr/local/opt/readline/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang called with: -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/include -L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot conftest.c
superenv executed: clang -pipe -Os -march=native -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/include -L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot conftest.c -isystem/usr/local/include -I/usr/local/opt/readline/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
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 2.7, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/python/2.7.8_2 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.8_2/share --datadir=/usr/local/Cellar/python/2.7.8_2/share --enable-framework=/usr/local/Cellar/python/2.7.8_2/Frameworks --without-gcc CPPFLAGS=-I/usr/include CFLAGS=-I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers LDFLAGS=-L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot MACOSX_DEPLOYMENT_TARGET=10.10
## --------- ##
## Platform. ##
## --------- ##
hostname = nagata
uname -m = x86_64
uname -r = 14.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/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 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 244 tasks, 1096 threads, 4 processors
Load average: 2.27, Mach factor: 1.72
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/Library/ENV/4.3
PATH: /usr/local/opt/pkg-config/bin
PATH: /usr/local/opt/sqlite/bin
PATH: /usr/local/opt/gdbm/bin
PATH: /usr/local/opt/openssl/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2790: checking build system type
configure:2804: result: x86_64-apple-darwin14.0.0
configure:2824: checking host system type
configure:2837: result: x86_64-apple-darwin14.0.0
configure:2945: checking for --enable-universalsdk
configure:2986: result: no
configure:2996: checking for --with-universal-archs
configure:3013: result: 32-bit
configure:3170: checking MACHDEP
configure:3362: result: darwin
configure:3368: checking EXTRAPLATDIR
configure:3383: result: $(PLATMACDIRS)
configure:3404: checking for --without-gcc
configure:3448: result: yes
configure:3542: checking for gcc
configure:3569: result: clang
configure:3798: checking for C compiler version
configure:3807: clang --version >&5
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
configure:3818: $? = 0
configure:3807: clang -v >&5
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
configure:3818: $? = 0
configure:3807: clang -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
configure:3818: $? = 1
configure:3807: clang -qversion >&5
clang: error: unknown argument: '-qversion'
configure:3818: $? = 1
configure:3838: checking whether the C compiler works
configure:3860: clang -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/include -L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot conftest.c >&5
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3864: $? = 1
configure:3902: result: no
configure: failed program was:
| /* confdefs.h */
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _DARWIN_C_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3907: error: in `/private/tmp/python-2ilnha/Python-2.7.8':
configure:3909: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin14.0.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/usr/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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-darwin14.0.0
ac_cv_prog_ac_ct_CC=clang
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
ARCH_RUN_32BIT=''
ARFLAGS=''
BASECFLAGS=''
BASECPPFLAGS=''
BLDLIBRARY=''
BLDSHARED=''
BUILDEXEEXT=''
CC='clang'
CCSHARED=''
CFLAGS='-I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers'
CFLAGSFORSHARED=''
CONFIGURE_MACOSX_DEPLOYMENT_TARGET=''
CONFIG_ARGS=' '\''--prefix=/usr/local/Cellar/python/2.7.8_2'\'' '\''--enable-ipv6'\'' '\''--datarootdir=/usr/local/Cellar/python/2.7.8_2/share'\'' '\''--datadir=/usr/local/Cellar/python/2.7.8_2/share'\'' '\''--enable-framework=/usr/local/Cellar/python/2.7.8_2/Frameworks'\'' '\''--without-gcc'\'' '\''CPPFLAGS=-I/usr/include'\'' '\''CFLAGS=-I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers'\'' '\''LDFLAGS=-L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot '\'' '\''MACOSX_DEPLOYMENT_TARGET=10.10'\'' '\''CC=clang'\'''
CPP=''
CPPFLAGS='-I/usr/include'
CXX='clang++'
DEFS=''
DLINCLDIR=''
DLLLIBRARY=''
DYNLOADFILE=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
EXTRAMACHDEPPATH='$(PLATMACPATH)'
EXTRAPLATDIR='$(PLATMACDIRS)'
FRAMEWORKALTINSTALLFIRST='frameworkinstallstructure bininstall maninstall'
FRAMEWORKALTINSTALLLAST='frameworkinstallmaclib frameworkinstallapps frameworkaltinstallunixtools'
FRAMEWORKINSTALLAPPSPREFIX='/Applications'
FRAMEWORKINSTALLFIRST='frameworkinstallstructure'
FRAMEWORKINSTALLLAST='frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools'
FRAMEWORKUNIXTOOLSPREFIX='/usr/local/Cellar/python/2.7.8_2'
GNULD=''
GREP=''
HAS_HG=''
HAVE_GETHOSTBYNAME=''
HAVE_GETHOSTBYNAME_R=''
HAVE_GETHOSTBYNAME_R_3_ARG=''
HAVE_GETHOSTBYNAME_R_5_ARG=''
HAVE_GETHOSTBYNAME_R_6_ARG=''
HGBRANCH=''
HGTAG=''
HGVERSION=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTSONAME=''
LDCXXSHARED=''
LDFLAGS='-L/usr/local/lib -L/usr/local/opt/sqlite/lib -isysroot '
LDLAST=''
LDLIBRARY=''
LDLIBRARYDIR=''
LDSHARED=''
LIBC=''
LIBFFI_INCLUDEDIR=''
LIBM=''
LIBOBJS=''
LIBRARY=''
LIBS=''
LIBTOOL_CRUFT=''
LINKCC=''
LINKFORSHARED=''
LIPO_32BIT_FLAGS=''
LN=''
LTLIBOBJS=''
MACHDEP='darwin'
MACHDEP_OBJS=''
MAINCC=''
MKDIR_P=''
MULTIARCH=''
OBJEXT=''
OPT=''
OTHER_LIBTOOL_OPT=''
PACKAGE_BUGREPORT='http://bugs.python.org/'
PACKAGE_NAME='python'
PACKAGE_STRING='python 2.7'
PACKAGE_TARNAME='python'
PACKAGE_URL=''
PACKAGE_VERSION='2.7'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PYTHONFRAMEWORK='Python'
PYTHONFRAMEWORKDIR='Python.framework'
PYTHONFRAMEWORKIDENTIFIER='org.python.python'
PYTHONFRAMEWORKINSTALLDIR='/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework'
PYTHONFRAMEWORKPREFIX='/usr/local/Cellar/python/2.7.8_2/Frameworks'
PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
RANLIB=''
RUNSHARED=''
SGI_ABI=''
SHELL='/bin/sh'
SHLIBS=''
SIGNAL_OBJS=''
SO=''
SOVERSION='1.0'
SRCDIRS=''
SVNVERSION=''
TCLTK_INCLUDES=''
TCLTK_LIBS=''
THREADHEADERS=''
THREADOBJ=''
TRUE=''
UNICODE_OBJS=''
UNIVERSALSDK=''
UNIVERSAL_ARCH_FLAGS=''
USE_SIGNAL_MODULE=''
USE_THREAD_MODULE=''
VERSION='2.7'
_PYTHON_HOST_PLATFORM=''
ac_ct_AR=''
ac_ct_CC='clang'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin14.0.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin14.0.0'
build_vendor='apple'
datadir='/usr/local/Cellar/python/2.7.8_2/share'
datarootdir='/usr/local/Cellar/python/2.7.8_2/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-apple-darwin14.0.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin14.0.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7'
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 _BSD_TYPES 1
#define _DARWIN_C_SOURCE 1
configure: exit 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment