Skip to content

Instantly share code, notes, and snippets.

@FrancisVarga
Created September 24, 2012 09:58
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 FrancisVarga/3775234 to your computer and use it in GitHub Desktop.
Save FrancisVarga/3775234 to your computer and use it in GitHub Desktop.
brew install fail by building zeromq c-binding
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/php53-zmq/1.0.3
## --------- ##
## Platform. ##
## --------- ##
hostname = hippsterterminator.office.crowdpark.com
uname -m = x86_64
uname -r = 12.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~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.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 4.00 gigabytes
Default processor set: 149 tasks, 992 threads, 4 processors
Load average: 3.29, Mach factor: 0.95
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/Library/ENV/4.3
PATH: /usr/local/opt/autoconf/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2611: checking for grep that handles long lines and -e
configure:2669: result: /usr/bin/grep
configure:2674: checking for egrep
configure:2736: result: /usr/bin/grep -E
configure:2741: checking for a sed that does not truncate output
configure:2795: result: /usr/local/Library/ENV/4.3/sed
configure:2985: checking for C compiler version
configure:2994: cc --version >&5
Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
configure:3005: $? = 0
configure:2994: cc -v >&5
Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
clang: warning: argument unused during compilation: '-L/usr/local/lib'
clang: warning: argument unused during compilation: '-L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries'
configure:3005: $? = 0
configure:2994: cc -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
clang: error: no input files
configure:3005: $? = 1
configure:2994: cc -qversion >&5
clang: error: no input files
configure:3005: $? = 1
configure:3025: checking whether the C compiler works
configure:3047: cc conftest.c >&5
configure:3051: $? = 0
configure:3099: result: yes
configure:3102: checking for C compiler default output file name
configure:3104: result: a.out
configure:3110: checking for suffix of executables
configure:3117: cc -o conftest conftest.c >&5
configure:3121: $? = 0
configure:3143: result:
configure:3165: checking whether we are cross compiling
configure:3173: cc -o conftest conftest.c >&5
configure:3177: $? = 0
configure:3184: ./conftest
configure:3188: $? = 0
configure:3203: result: no
configure:3208: checking for suffix of object files
configure:3230: cc -c conftest.c >&5
configure:3234: $? = 0
configure:3255: result: o
configure:3259: checking whether we are using the GNU C compiler
configure:3278: cc -c conftest.c >&5
configure:3278: $? = 0
configure:3287: result: yes
configure:3296: checking whether cc accepts -g
configure:3316: cc -c -g conftest.c >&5
configure:3316: $? = 0
configure:3357: result: yes
configure:3374: checking for cc option to accept ISO C89
configure:3437: cc -c -g -O2 conftest.c >&5
configure:3437: $? = 0
configure:3450: result: none needed
configure:3476: checking how to run the C preprocessor
configure:3507: cc -E conftest.c
configure:3507: $? = 0
configure:3521: cc -E conftest.c
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:3521: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3546: result: cc -E
configure:3566: cc -E conftest.c
configure:3566: $? = 0
configure:3580: cc -E conftest.c
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:3580: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3611: checking for icc
configure:3620: result: no
configure:3634: checking for suncc
configure:3643: result: no
configure:3661: checking whether cc understands -c and -o together
configure:3689: cc -c conftest.c -o conftest2.o >&5
configure:3693: $? = 0
configure:3699: cc -c conftest.c -o conftest2.o >&5
configure:3703: $? = 0
configure:3758: result: yes
configure:3772: checking for system library directory
configure:3787: result: lib
configure:3794: checking if compiler supports -R
configure:3813: cc -o conftest -g -O2 conftest.c -R /usr/lib >&5
clang: warning: argument unused during compilation: '-R'
ld: can't map file, errno=22 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3813: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3823: result: no
configure:3828: checking if compiler supports -Wl,-rpath,
configure:3847: cc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib >&5
configure:3847: $? = 0
configure:3857: result: yes
configure:3902: checking build system type
configure:3916: result: i386-apple-darwin12.2.0
configure:3936: checking host system type
configure:3949: result: i386-apple-darwin12.2.0
configure:3969: checking target system type
configure:3982: result: i386-apple-darwin12.2.0
configure:4085: checking for PHP prefix
configure:4087: result: /usr
configure:4089: checking for PHP includes
configure:4091: result: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
configure:4093: checking for PHP extension directory
configure:4095: result: /usr/lib/php/extensions/no-debug-non-zts-20090626
configure:4097: checking for PHP installed headers prefix
configure:4099: result: /usr/include/php
configure:4102: checking if debug is enabled
configure:4128: result: no
configure:4131: checking if zts is enabled
configure:4157: result: no
configure:4228: checking for re2c
configure:4258: result: no
configure:4283: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
configure:4297: checking for gawk
configure:4328: result: no
configure:4297: checking for nawk
configure:4328: result: no
configure:4297: checking for awk
configure:4314: found /usr/bin/awk
configure:4325: result: awk
configure:4348: checking if awk is broken
configure:4355: result: no
configure:4368: checking whether to enable 0MQ support
configure:4408: result: yes, shared
configure:4418: checking for pkg-config
configure:4449: result: no
configure:4458: result: pkg-config not found
configure:4460: error: Please reinstall the pkg-config distribution
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i386-apple-darwin12.2.0
ac_cv_c_compiler_gnu=yes
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=
ac_cv_env_CPP_value=
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.2.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_PKG_CONFIG=no
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_cc_c89=
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_target=i386-apple-darwin12.2.0
lt_cv_path_SED=/usr/local/Library/ENV/4.3/sed
php_cv_cc_dashr=no
php_cv_cc_rpath=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK='awk'
CC='cc'
CFLAGS='-g -O2'
CONFIGURE_COMMAND=' '\''./configure'\'' '\''--prefix=/usr/local/Cellar/php53-zmq/1.0.3'\'''
CONFIGURE_OPTIONS=' '\''--prefix=/usr/local/Cellar/php53-zmq/1.0.3'\'''
CPP='cc -E'
CPPFLAGS=''
DEFS=''
DSYMUTIL=''
ECHO='/bin/echo'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
NMEDIT=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG='no'
RANLIB=''
RE2C='exit 0;'
SED='/usr/local/Library/ENV/4.3/sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='dylib'
STRIP=''
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.2.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.2.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-apple-darwin12.2.0'
host_alias='i386-apple-darwin12.2.0'
host_cpu='i386'
host_os='darwin12.2.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'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-apple-darwin12.2.0'
target_alias=''
target_cpu='i386'
target_os='darwin12.2.0'
target_vendor='apple'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 1
==> Downloading https://github.com/mkoppanen/php-zmq/tarball/1.0.3
Already downloaded: /Library/Caches/Homebrew/php53-zmq-1.0.3.tgz
==> phpize
==> ./configure --prefix=/usr/local/Cellar/php53-zmq/1.0.3
==> Build Environment
HOMEBREW_VERSION: 0.9.3
HEAD: de17f11b8706ba0580eb049b8d0fb7259a922925
CPU: quad-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.5
CLT: 4.5.0.0.1.1249367152
X11: N/A
CC: cc
CXX: c++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/local/Library/Homebrew/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/autoconf/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/php53-zmq/1.0.3 (php53-zmq.rb:17)
This link will help resolve the above errors:
https://github.com/josegonzalez/homebrew-php/issues/new
We saved the configure log:
~/Library/Logs/Homebrew/config.log
When you report the issue please paste the build output above and 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