Skip to content

Instantly share code, notes, and snippets.

@davidh-raybeam
Created June 14, 2012 18:41
Show Gist options
  • Save davidh-raybeam/2932095 to your computer and use it in GitHub Desktop.
Save davidh-raybeam/2932095 to your computer and use it in GitHub Desktop.
Homebrew Python2.4 Install Output
$ brew --config
HOMEBREW_VERSION: 0.9
HEAD: c2a04d3b18daa497cd0d6f25163ea118a151f8b3
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.7.4
Kernel Architecture: x86_64
Xcode: 4.3.3
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-357
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
$ brew doctor
Your system is raring to brew.
$ brew install -v homebrew/versions/python24
==> Downloading http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tgz
Already downloaded: /Library/Caches/Homebrew/python24-2.4.6.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/python24-2.4.6.tgz
==> Downloading patches
/usr/bin/curl -qf#LA Homebrew 0.9 (Ruby 1.8.7-357; Mac OS X 10.7.4) https://raw.github.com/collective/buildout.python/master/src/python-2.4-darwin-10.6.patch -o 000-homebrew.diff
######################################################################## 100.0%
==> Patching
/usr/bin/patch -f -p0 -i 000-homebrew.diff
patching file Include/pymactoolbox.h
patching file Include/pyport.h
patching file Mac/Modules/macosmodule.c
patching file Python/mactoolboxglue.c
patching file configure
patching file pyconfig.h.in
==> ./configure --prefix=/usr/local/Cellar/python24/2.4.6 --disable-tk MACOSX_DEPLOYMENT_TARGET=10.7 --enable-ipv6 --enable-shared
./configure --prefix=/usr/local/Cellar/python24/2.4.6 --disable-tk MACOSX_DEPLOYMENT_TARGET=10.7 --enable-ipv6 --enable-shared
checking MACHDEP... darwin
checking EXTRAPLATDIR... $(PLATMACDIRS)
checking for --without-gcc... no
checking for --with-cxx=<compiler>... no
checking for c++... /usr/bin/clang++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for gcc... gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
config.log was copied to /Users/rdkaufman01/Library/Logs/Homebrew
==> Exit Status: 77
https://github.com/mxcl/master/blob/master/Library/Formula/.rb#L
==> Build Environment
CPU: 8-core 64-bit sandybridge
MacOS: 10.7.4-x86_64
Xcode: 4.3.3
CC: gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CPPFLAGS: -I/usr/local/Cellar/readline/6.2.2/include
LDFLAGS: -L/usr/local/Cellar/readline/6.2.2/lib
MAKEFLAGS: -j8
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/python24/2.4.6 --disable-tk MACOSX_DEPLOYMENT_TARGET=10.7 --enable-ipv6 --enable-shared (.rb:)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
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.4, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/python24/2.4.6 --disable-tk MACOSX_DEPLOYMENT_TARGET=10.7 --enable-ipv6 --enable-shared
## --------- ##
## Platform. ##
## --------- ##
hostname = Davids-MacBook-Pro.local
uname -m = x86_64
uname -r = 11.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = Mach kernel version:
Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 4.00 gigabytes
Default processor set: 103 tasks, 521 threads, 8 processors
Load average: 1.08, Mach factor: 6.90
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/Cellar/readline/6.2.2/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
PATH: /Users/rdkaufman01/bin
PATH: /usr/local/Library/Contributions/cmds
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1510: checking MACHDEP
configure:1655: result: darwin
configure:1661: checking EXTRAPLATDIR
configure:1676: result: $(PLATMACDIRS)
configure:1697: checking for --without-gcc
configure:1746: result: no
configure:1752: checking for --with-cxx=<compiler>
configure:1773: result: no
configure:1792: checking for c++
configure:1818: result: /usr/bin/clang++
configure:1858: checking for C++ compiler default output file name
configure:1861: /usr/bin/clang++ -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib conftest.cc >&5
configure:1864: $? = 0
configure:1910: result: a.out
configure:1915: checking whether the C++ compiler works
configure:1921: ./a.out
configure:1924: $? = 0
configure:1941: result: yes
configure:1948: checking whether we are cross compiling
configure:1950: result: no
configure:1953: checking for suffix of executables
configure:1955: /usr/bin/clang++ -o conftest -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib conftest.cc >&5
configure:1958: $? = 0
configure:1983: result:
configure:2057: checking for gcc
configure:2083: result: gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib
configure:2327: checking for C compiler version
configure:2330: gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib --version </dev/null >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2333: $? = 0
configure:2335: gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
configure:2338: $? = 0
configure:2340: gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib -V </dev/null >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:2343: $? = 1
configure:2366: checking for C compiler default output file name
configure:2369: gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib conftest.c >&5
conftest.c:1: error: bad value (native) for -march= switch
conftest.c:1: error: bad value (native) for -mtune= switch
configure:2372: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2411: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value='gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Os -w -pipe -march=native -Qunused-arguments'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/usr/local/Cellar/readline/6.2.2/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/Cellar/readline/6.2.2/lib
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_exeext=
ac_cv_prog_CXX=/usr/bin/clang++
ac_cv_prog_ac_ct_CC='gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib'
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
BASECFLAGS=''
BLDLIBRARY=''
BLDSHARED=''
BUILDEXEEXT=''
CC='gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib'
CCSHARED=''
CFLAGS='-Os -w -pipe -march=native -Qunused-arguments'
CFLAGSFORSHARED=''
CONFIGURE_MACOSX_DEPLOYMENT_TARGET=''
CONFIG_ARGS=''--prefix=/usr/local/Cellar/python24/2.4.6' '--disable-tk' 'MACOSX_DEPLOYMENT_TARGET=10.7' '--enable-ipv6' '--enable-shared' 'CC=gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib' 'CFLAGS=-Os -w -pipe -march=native -Qunused-arguments' 'CPPFLAGS=-I/usr/local/Cellar/readline/6.2.2/include' 'LDFLAGS=-L/usr/local/Cellar/readline/6.2.2/lib''
CPP=''
CPPFLAGS='-I/usr/local/Cellar/readline/6.2.2/include'
CXX='/usr/bin/clang++'
DEFS=''
DLINCLDIR=''
DLLLIBRARY=''
DYNLOADFILE=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
EXTRAMACHDEPPATH='$(PLATMACPATH)'
EXTRAPLATDIR='$(PLATMACDIRS)'
FRAMEWORKALTINSTALLFIRST=''
FRAMEWORKALTINSTALLLAST=''
FRAMEWORKINSTALLFIRST=''
FRAMEWORKINSTALLLAST=''
FRAMEWORKUNIXTOOLSPREFIX='/usr/local/Cellar/python24/2.4.6'
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=''
LDFLAGS='-L/usr/local/Cellar/readline/6.2.2/lib'
LDLAST=''
LDLIBRARY=''
LDLIBRARYDIR=''
LDSHARED=''
LIBC=''
LIBM=''
LIBOBJS=''
LIBRARY=''
LIBS=''
LIBTOOL_CRUFT=''
LINKCC=''
LINKFORSHARED=''
LN=''
LTLIBOBJS=''
MACHDEP='darwin'
MACHDEP_OBJS=''
MAINOBJ='python.o'
OBJEXT=''
OPT=''
OTHER_LIBTOOL_OPT=''
PACKAGE_BUGREPORT='http://www.python.org/python-bugs'
PACKAGE_NAME='python'
PACKAGE_STRING='python 2.4'
PACKAGE_TARNAME='python'
PACKAGE_VERSION='2.4'
PATH_SEPARATOR=':'
PYTHONFRAMEWORK=''
PYTHONFRAMEWORKDIR='no-framework'
PYTHONFRAMEWORKINSTALLDIR=''
PYTHONFRAMEWORKPREFIX=''
RANLIB=''
RUNSHARED=''
SGI_ABI=''
SHELL='/bin/sh'
SHLIBS=''
SIGNAL_OBJS=''
SO=''
SOVERSION='1.0'
SRCDIRS=''
THREADHEADERS=''
THREADOBJ=''
TRUE=''
UNICODE_OBJS=''
UNIVERSALSDK=''
USE_SIGNAL_MODULE=''
USE_THREAD_MODULE=''
VERSION='2.4'
ac_ct_CC='gcc -I/usr/local/Cellar/readline/6.2.2/include -L/usr/local/Cellar/readline/6.2.2/lib'
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local/Cellar/python24/2.4.6'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define _BSD_TYPES 1
#define _GNU_SOURCE 1
#define _NETBSD_SOURCE 1
#define _POSIX_C_SOURCE 200112L
#define _XOPEN_SOURCE 600
#define _XOPEN_SOURCE_EXTENDED 1
#define __BSD_VISIBLE 1
configure: exit 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment