Skip to content

Instantly share code, notes, and snippets.

@mihahribar
Created June 3, 2012 06:50
Show Gist options
  • Save mihahribar/2862320 to your computer and use it in GitHub Desktop.
Save mihahribar/2862320 to your computer and use it in GitHub Desktop.
Error with brew install php54-gearman
hal:~ miha$ brew install php54-gearman --HEAD
==> Installing php54-gearman
==> Checking out https://svn.php.net/repository/pecl/gearman/trunk/
==> phpize
==> ./configure --prefix=/usr/local/Cellar/php54-gearman/HEAD --with-gearman=/usr/local/Cellar/gearman/0.33
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/bin/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 /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking for icc... no
checking for suncc... no
checking whether /usr/bin/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... i386-apple-darwin11.4.0
checking host system type... i386-apple-darwin11.4.0
checking target system type... i386-apple-darwin11.4.0
checking for PHP prefix... /usr/local/Cellar/php54/5.4.3
checking for PHP includes... -I/usr/local/Cellar/php54/5.4.3/include/php -I/usr/local/Cellar/php54/5.4.3/include/php/main -I/usr/local/Cellar/php54/5.4.3/include/php/TSRM -I/usr/local/Cellar/php54/5.4.3/include/php/Zend -I/usr/local/Cellar/php54/5.4.3/include/php/ext -I/usr/local/Cellar/php54/5.4.3/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php54/5.4.3/lib/php/extensions/no-debug-non-zts-20100525
checking for PHP installed headers prefix... /usr/local/Cellar/php54/5.4.3/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 gearman support... yes, shared
found in /usr/local/Cellar/gearman/0.33
checking for gearman_client_set_context in -lgearman... no
configure: error: libgearman version 0.10 or later required
config.log was copied to /Users/miha/Library/Logs/Homebrew
==> Build Environment
CPU: quad-core 64-bit sandybridge
MacOS: 10.7.4-x86_64
Xcode: 4.3.2
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -arch i386 -arch x86_64
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -arch i386 -arch x86_64
LDFLAGS: -arch i386 -arch x86_64
MAKEFLAGS: -j4
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/php54-gearman/HEAD --with-gearman=/usr/local/Cellar/gearman/0.33 (php54-gearman.rb:19)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/josegonzalez/homebrew-php/issues/new
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment