Skip to content

Instantly share code, notes, and snippets.

@Jacketbg
Created March 12, 2016 14:53
Show Gist options
  • Select an option

  • Save Jacketbg/bd74c97aa0e8a9a9ef2f to your computer and use it in GitHub Desktop.

Select an option

Save Jacketbg/bd74c97aa0e8a9a9ef2f to your computer and use it in GitHub Desktop.
php55-tidy
# brew install -v php55-tidy
==> Installing php55-tidy from homebrew/php
==> Downloading https://php.net/get/php-5.5.33.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php55-tidy-5.5.33
==> Verifying php55-tidy-5.5.33 checksum
tar xvf /Library/Caches/Homebrew/php55-tidy-5.5.33
==> /usr/local/opt/php55/bin/phpize
Configuring for:
PHP Api Version: 20121113
Zend Module Api No: 20121212
Zend Extension Api No: 220121212
==> ./configure --prefix=/usr/local/Cellar/php55-tidy/5.5.33 --with-php-config=/usr/local/opt/php55/bin/php-config --disable-dependency-tracking --with-tidy=/usr/local/opt/tidy-html5
configure: WARNING: unrecognized options: --disable-dependency-tracking
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... /usr/local/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-darwin15.3.0
checking host system type... x86_64-apple-darwin15.3.0
checking target system type... x86_64-apple-darwin15.3.0
checking for PHP prefix... /usr/local/Cellar/php55/5.5.33
checking for PHP includes... -I/usr/local/Cellar/php55/5.5.33/include/php -I/usr/local/Cellar/php55/5.5.33/include/php/main -I/usr/local/Cellar/php55/5.5.33/include/php/TSRM -I/usr/local/Cellar/php55/5.5.33/include/php/Zend -I/usr/local/Cellar/php55/5.5.33/include/php/ext -I/usr/local/Cellar/php55/5.5.33/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php55/5.5.33/lib/php/extensions/debug-non-zts-20121212
checking for PHP installed headers prefix... /usr/local/Cellar/php55/5.5.33/include/php
checking if debug is enabled... yes
checking if zts is enabled... yes
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 for TIDY support... yes, shared
checking for tidyOptGetDoc in -ltidy... 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 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 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... darwin15.3.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... darwin15.3.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: --disable-dependency-tracking
==> make
/bin/sh /private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/libtool --mode=compile clang -I. -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy -DPHP_ATOM_INC -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/include -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/main -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy -I/usr/local/Cellar/php55/5.5.33/include/php -I/usr/local/Cellar/php55/5.5.33/include/php/main -I/usr/local/Cellar/php55/5.5.33/include/php/TSRM -I/usr/local/Cellar/php55/5.5.33/include/php/Zend -I/usr/local/Cellar/php55/5.5.33/include/php/ext -I/usr/local/Cellar/php55/5.5.33/include/php/ext/date/lib -I/usr/local/opt/tidy-html5/include -DHAVE_CONFIG_H -g -O0 -c /private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/tidy.c -o tidy.lo
mkdir .libs
clang -I. -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy -DPHP_ATOM_INC -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/include -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/main -I/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy -I/usr/local/Cellar/php55/5.5.33/include/php -I/usr/local/Cellar/php55/5.5.33/include/php/main -I/usr/local/Cellar/php55/5.5.33/include/php/TSRM -I/usr/local/Cellar/php55/5.5.33/include/php/Zend -I/usr/local/Cellar/php55/5.5.33/include/php/ext -I/usr/local/Cellar/php55/5.5.33/include/php/ext/date/lib -I/usr/local/opt/tidy-html5/include -DHAVE_CONFIG_H -g -O0 -c /private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/tidy.c -fno-common -DPIC -o .libs/tidy.o
/private/tmp/php55-tidy20160312-58163-1trcylw/php-5.5.33/ext/tidy/tidy.c:34:10: fatal error: 'tidybuffio.h' file not found
#include "tidybuffio.h"
^
1 error generated.
make: *** [tidy.lo] Error 1
==> Formula
Tap: homebrew/php
Path: /usr/local/Library/Taps/homebrew/homebrew-php/Formula/php55-tidy.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 569c4105a3e2764ddbb7191c6bcb0cf7cc682a73
Last commit: 11 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit ivybridge
OS X: 10.11.3-x86_64
Xcode: 7.2.1
CLT: 7.2.0.0.1.1447826929
Clang: 7.0 build 700
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_66, 1.8.0_25, 1.7.0_71, 1.6.0_65-b14-468
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/icu4c:/usr/local/opt/libxml2:/usr/local/opt/readline:/usr/local/opt/openssl:/usr/local
CMAKE_INCLUDE_PATH: /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/libxml2/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/opt/libxml2/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/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/libxml2/bin:/usr/local/opt/unixodbc/bin:/usr/local/opt/openssl/bin:/usr/local/opt/php55/bin:/usr/local/opt/tidy-html5/bin:/usr/bin:/bin:/usr/sbin:/sbin
Logs:
/Users/Jacket/Library/Logs/Homebrew/php55-tidy/01.phpize
/Users/Jacket/Library/Logs/Homebrew/php55-tidy/02.configure
/Users/Jacket/Library/Logs/Homebrew/php55-tidy/02.configure.cc
/Users/Jacket/Library/Logs/Homebrew/php55-tidy/03.make
/Users/Jacket/Library/Logs/Homebrew/php55-tidy/03.make.cc
/Users/Jacket/Library/Logs/Homebrew/php55-tidy/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment