Skip to content

Instantly share code, notes, and snippets.

@igorbernstein
Created August 30, 2012 14:06
Show Gist options
  • Select an option

  • Save igorbernstein/3529232 to your computer and use it in GitHub Desktop.

Select an option

Save igorbernstein/3529232 to your computer and use it in GitHub Desktop.
homebrew readline install on 10.8.1 w/o CLT
HOMEBREW_VERSION: 0.9.3
HEAD: 313423d8ee33d80261b3a3045bb53aa14fda6846
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit nehalem
OS X: 10.8.1-x86_64
Xcode: 4.4.1
CLT: N/A
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 4.0 build 421
MacPorts or Fink? false
X11: N/A
System Ruby: 1.8.7-358
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
Warning: Experimental support for using Xcode without the "Command Line Tools".
You have only installed Xcode. If stuff is not building, try installing the
"Command Line Tools for Xcode" package.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by readline configure 6.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/Cellar/readline/6.2.4/share/man --infodir=/usr/local/Cellar/readline/6.2.4/share/info --enable-multibyte
## --------- ##
## Platform. ##
## --------- ##
hostname = Igors-MacBook-Air.local
uname -m = x86_64
uname -r = 12.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.1.0: Tue Aug 14 13:29:55 PDT 2012; root:xnu-2050.9.2~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
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 12.1.0: Tue Aug 14 13:29:55 PDT 2012; root:xnu-2050.9.2~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 103 tasks, 423 threads, 2 processors
Load average: 1.84, Mach factor: 0.60
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/Library/ENV/4.3
PATH: /Applications/Xcode.app/Contents/Developer/usr/bin
PATH: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/Library/Contributions/cmds
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1895: checking build system type
configure:1913: result: i386-apple-darwin12.1.0
configure:1935: checking host system type
configure:1950: result: i386-apple-darwin12.1.0
configure:2059: checking whether make sets $(MAKE)
configure:2081: result: yes
configure:2138: checking for gcc
configure:2165: result: cc
configure:2397: checking for C compiler version
configure:2405: cc --version >&5
/usr/local/Library/ENV/4.3/xcrun: line 11: /usr/bin/clang: No such file or directory
/usr/local/Library/ENV/4.3/xcrun: line 11: exec: /usr/bin/clang: cannot execute: No such file or directory
configure:2409: $? = 126
configure:2416: cc -v >&5
/usr/local/Library/ENV/4.3/xcrun: line 11: /usr/bin/clang: No such file or directory
/usr/local/Library/ENV/4.3/xcrun: line 11: exec: /usr/bin/clang: cannot execute: No such file or directory
configure:2420: $? = 126
configure:2427: cc -V >&5
/usr/local/Library/ENV/4.3/xcrun: line 11: /usr/bin/clang: No such file or directory
/usr/local/Library/ENV/4.3/xcrun: line 11: exec: /usr/bin/clang: cannot execute: No such file or directory
configure:2431: $? = 126
configure:2454: checking for C compiler default output file name
configure:2476: cc -g conftest.c >&5
/usr/local/Library/ENV/4.3/xcrun: line 11: /usr/bin/clang: No such file or directory
/usr/local/Library/ENV/4.3/xcrun: line 11: exec: /usr/bin/clang: cannot execute: No such file or directory
configure:2480: $? = 126
configure:2518: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "readline"
| #define PACKAGE_TARNAME "readline"
| #define PACKAGE_VERSION "6.2"
| #define PACKAGE_STRING "readline 6.2"
| #define PACKAGE_BUGREPORT "bug-readline@gnu.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2524: error: in `/private/tmp/brew-readline-6.2.4-xDia/readline-6.2':
configure:2527: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i386-apple-darwin12.1.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=cpp
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
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=i386-apple-darwin12.1.0
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
ARFLAGS=''
BUILD_DIR=''
CC='cc'
CFLAGS='-g'
CPP='cpp'
CPPFLAGS=''
CROSS_COMPILE=''
DEFS=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBVERSION='6.2'
LOCAL_CFLAGS=''
LOCAL_DEFS=''
LOCAL_LDFLAGS=''
LTLIBOBJS=''
MAKE_SHELL=''
OBJEXT=''
PACKAGE_BUGREPORT='bug-readline@gnu.org'
PACKAGE_NAME='readline'
PACKAGE_STRING='readline 6.2'
PACKAGE_TARNAME='readline'
PACKAGE_VERSION='6.2'
PATH_SEPARATOR=':'
PURIFY=''
RANLIB=''
SET_MAKE=''
SHARED_INSTALL_TARGET=''
SHARED_TARGET=''
SHELL='/bin/sh'
SHLIB_DLLVERSION=''
SHLIB_DOT=''
SHLIB_LIBPREF=''
SHLIB_LIBS=''
SHLIB_LIBSUFF=''
SHLIB_LIBVERSION=''
SHLIB_MAJOR=''
SHLIB_MINOR=''
SHLIB_STATUS=''
SHLIB_XLDFLAGS=''
SHOBJ_CC=''
SHOBJ_CFLAGS=''
SHOBJ_LD=''
SHOBJ_LDFLAGS=''
SHOBJ_LIBS=''
SHOBJ_STATUS=''
SHOBJ_XLDFLAGS=''
STATIC_INSTALL_TARGET=''
STATIC_TARGET=''
TERMCAP_LIB=''
ac_ct_CC='cc'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.1.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.1.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-apple-darwin12.1.0'
host_alias=''
host_cpu='i386'
host_os='darwin12.1.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/local/Cellar/readline/6.2.4/share/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/local/Cellar/readline/6.2.4/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/Cellar/readline/6.2.4'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "readline"
#define PACKAGE_TARNAME "readline"
#define PACKAGE_VERSION "6.2"
#define PACKAGE_STRING "readline 6.2"
#define PACKAGE_BUGREPORT "bug-readline@gnu.org"
configure: exit 77
==> Downloading http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/readline-6.2.4.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/readline-6.2.4.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file callback.c
patching file input.c
patching file patchlevel
patching file support/shobj-conf
patching file vi_mode.c
==> ./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/Cellar/readline/6.2.4/share/man --infodir=/usr/local/Cellar/readline/6.2.4/share/info --enable-multibyte
./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/Cellar/readline/6.2.4/share/man --infodir=/usr/local/Cellar/readline/6.2.4/share/info --enable-multibyte
checking build system type... i386-apple-darwin12.1.0
checking host system type... i386-apple-darwin12.1.0
Beginning configuration for readline-6.2 for i386-apple-darwin12.1.0
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name...
configure: error: in `/private/tmp/brew-readline-6.2.4-xDia/readline-6.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.
==> Exit Status: 77
https://github.com/mxcl/master/blob/master/Library/Formula/readline.rb#L27
==> Build Environment
HOMEBREW_VERSION: 0.9.3
HEAD: 313423d8ee33d80261b3a3045bb53aa14fda6846
CPU: dual-core 64-bit nehalem
OS X: 10.8.1-x86_64
Xcode: 4.4.1
CLT: N/A
X11: N/A
CC: cc
CXX: c++
LD: ld
CMAKE_PREFIX_PATH: /usr:/usr/local
CMAKE_INCLUDE_PATH: /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
CMAKE_FRAMEWORK_PATH: /System/Library/Frameworks
MAKEFLAGS: -j1
PKG_CONFIG_PATH: /usr/local/Library/Homebrew/pkgconfig
HOMEBREW_MAKE_JOBS: 1
MAKE: make
CPP: cpp
PATH: /usr/local/Library/ENV/4.3:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Library/Contributions/cmds
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/Cellar/readline/6.2.4/share/man --infodir=/usr/local/Cellar/readline/6.2.4/share/info --enable-multibyte (readline.rb:27)
This link will help resolve the above errors:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
We saved the configure log:
~/Library/Logs/Homebrew/config.log
When you report the issue please paste the config.log here:
http://gist.github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment