Skip to content

Instantly share code, notes, and snippets.

@karolhor
Created November 9, 2014 13:52
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 karolhor/965b7450078201d22b0e to your computer and use it in GitHub Desktop.
Save karolhor/965b7450078201d22b0e to your computer and use it in GitHub Desktop.
brew install -v /Volumes/DANE/homebrew/Library/Taps/homebrew/homebrew-php/Formula/php56-http.rb
$ brew install -v /Volumes/DANE/homebrew/Library/Taps/homebrew/homebrew-php/Formula/php56-http.rb
brew install -v /Volumes/DANE/homebrew/Library/Taps/homebrew/homebrew-php/Formula/php56-http.rb
==> Installing php56-http from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/pecl_http-2.1.2.tgz
Already downloaded: /Library/Caches/Homebrew/php56-http-2.1.2.tgz
==> Verifying php56-http-2.1.2.tgz checksum
tar xf /Library/Caches/Homebrew/php56-http-2.1.2.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /Volumes/DANE/homebrew/Cellar/php56/5.6.2/bin/phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226
==> mkdir -p ext/raphf
==> mkdir -p ext/propro
==> ./configure --prefix=/Volumes/DANE/homebrew/Cellar/php56-http/2.1.2 --with-php-config=/Volumes/DANE/homebrew/Cellar/php56/5.6.2/bin/php-config --with-libevent-dir=/usr/local/opt/libevent --with-curl-dir=/usr/local/opt/curl
configure: WARNING: unrecognized options: --with-libevent-dir, --with-curl-dir
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /Volumes/DANE/homebrew/Library/ENV/4.3/sed
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for icc... no
checking for suncc... no
checking whether clang and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking target system type... x86_64-apple-darwin14.0.0
checking for PHP prefix... /Volumes/DANE/homebrew/Cellar/php56/5.6.2
checking for PHP includes... -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib
checking for PHP extension directory... /Volumes/DANE/homebrew/Cellar/php56/5.6.2/lib/php/extensions/no-debug-non-zts-20131226
checking for PHP installed headers prefix... /Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable extended HTTP support... yes, shared
checking for egrep... (cached) /usr/bin/grep -E
checking for a sed that does not truncate output... /Volumes/DANE/homebrew/Library/ENV/4.3/sed
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking for gethostname... yes
checking for getdomainname... yes
checking for zlib.h... found in /usr
checking for zlib version >= 1.2.0.4... 1.2.5
checking for curl/curl.h... found in /usr
checking for curl-config... found: /usr/bin/curl-config
checking for curl version >= 7.18.2... 7.37.1
checking for SSL support in libcurl... yes
checking for openssl support in libcurl... no
checking for gnutls support in libcurl... no
checking for ares support in libcurl... no
checking for bundled SSL CA info... not found
checking for event2/event.h... found in /usr/local
checking for libevent version, roughly... 2.0.21-stable
checking for ext/raphf support... yes
checking for php_raphf.h... /usr/local/include
checking for ext/propro support... yes
checking for php_propro.h... /usr/local/include
checking whether to depend on extensions which have been built shared... yes
checking for ext/hash support... yes
checking for php_hash.h... /Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash
checking for ext/json support... yes
checking for ext/iconv support... yes
checking whether to add a dependency on ext/hash... yes
checking whether to add a dependency on ext/iconv... yes
checking whether to add a dependency on ext/json... yes
checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from clang object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common
checking if clang PIC flag -fno-common works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... no
checking for clang++ option to produce PIC...
checking if clang++ static flag works... yes
checking if clang++ supports -c -o file.o... yes
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... darwin14.0.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
configure: WARNING: unrecognized options: --with-libevent-dir, --with-curl-dir
==> make
/bin/sh /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/libtool --mode=compile clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_buffer.c -o php_http_buffer.lo
/bin/sh /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/libtool --mode=compile clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http.c -o php_http.lo
mkdir .libs
mkdir .libs
mkdir: .libs: File exists
clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_buffer.c -fno-common -DPIC -o .libs/php_http_buffer.o
clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http.c -fno-common -DPIC -o .libs/php_http.o
/bin/sh /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/libtool --mode=compile clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_client.c -o php_http_client.lo
/bin/sh /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/libtool --mode=compile clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_client_curl.c -o php_http_client_curl.lo
clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_client.c -fno-common -DPIC -o .libs/php_http_client.o
clang -I. -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -DPHP_ATOM_INC -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/include -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/main -I/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2 -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/main -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/TSRM -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/Zend -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/date/lib -I/usr/local/include -I/Volumes/DANE/homebrew/Cellar/php56/5.6.2/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_client_curl.c -fno-common -DPIC -o .libs/php_http_client_curl.o
/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_client_curl.c:542:9: error: use of undeclared identifier 'CURLSSLBACKEND_QSOSSL'; did you mean 'CURLSSLBACKEND_CYASSL'?
case CURLSSLBACKEND_QSOSSL:
^~~~~~~~~~~~~~~~~~~~~
CURLSSLBACKEND_CYASSL
/usr/local/opt/curl/include/curl/curl.h:2040:3: note: 'CURLSSLBACKEND_CYASSL' declared here
CURLSSLBACKEND_CYASSL = 7,
^
/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_client_curl.c:551:9: error: duplicate case value 'CURLSSLBACKEND_CYASSL'
case CURLSSLBACKEND_CYASSL:
^
/Volumes/DANE/homebrew/tmp/php56-http-w00Do3/pecl_http-2.1.2/php_http_client_curl.c:542:9: note: previous case defined here
case CURLSSLBACKEND_QSOSSL:
^
2 errors generated.
make: *** [php_http_client_curl.lo] Error 1
make: *** Waiting for unfinished jobs....
==> Formula
Tap: homebrew/homebrew-php
Path: /Volumes/DANE/homebrew/Library/Taps/homebrew/homebrew-php/Formula/php56-http.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 38bf81f615d8ae15d70866a77a080d156814897a
HOMEBREW_CELLAR: /Volumes/DANE/homebrew/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.10.1-x86_64
Xcode: 5.1.1
CLT: 6.1.0.0.1.1413057044
X11: 2.7.7 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/icu4c:/usr/local/opt/zlib:/usr/local/opt/curl:/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/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/zlib/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/Volumes/DANE/homebrew/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/opt/curl/share/aclocal:/usr/local/share/aclocal
PATH: /Volumes/DANE/homebrew/Library/ENV/4.3:/usr/local/opt/autoconf/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/unixodbc/bin:/usr/local/opt/php56/bin:/usr/local/opt/curl/bin:/usr/local/opt/libevent/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: php56-http 2.1.2 did not build
Logs:
/Users/taveo/Library/Logs/Homebrew/php56-http/01.phpize
/Users/taveo/Library/Logs/Homebrew/php56-http/02.raphf
/Users/taveo/Library/Logs/Homebrew/php56-http/03.propro
/Users/taveo/Library/Logs/Homebrew/php56-http/04.configure
/Users/taveo/Library/Logs/Homebrew/php56-http/04.configure.cc
/Users/taveo/Library/Logs/Homebrew/php56-http/05.make
/Users/taveo/Library/Logs/Homebrew/php56-http/05.make.cc
/Users/taveo/Library/Logs/Homebrew/php56-http/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment