Giter VIP home page Giter VIP logo

homebrew-hhvm's Introduction

Homebrew-HHVM

This tap has been deprecated in favor of the official tap. After almost two years of work the official support for OSX has been released.

A big thanks to @denji, @danslo and the other 12 contributors.

The original code is avialable at the master branch.

homebrew-hhvm's People

Contributors

mcuadros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-hhvm's Issues

ld: symbol(s) not found for architecture x86_64

My environment:

$ uname -a
Darwin MacBook-Pro-Max.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64

$ brew update
Already up-to-date.

$ brew doctor
Your system is ready to brew.

$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 584884608accbf202906549b45d3f9d81abad34f
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
Clang: 5.1 build 503
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/maxvoloshin/.rbenv/shims/ruby

My problem:

$ brew install hhvm --HEAD
==> Cloning https://github.com/facebook/hhvm.git
Updating /Library/Caches/Homebrew/hhvm--git
==> Patching
patching file hphp/runtime/base/program-functions.cpp
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
Hunk #1 succeeded at 29 with fuzz 2 (offset 2 lines).
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/
==> make -j4
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [hphp/hhvm/hhvm] Error 1
make[1]: *** [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2
make: *** [all] Error 2

I will be glad for help!

I think facebook recut the 3.0.1 release

The current 3.0.1 seems to have been tagged after 3.0.1 was added to this repo. I get the following error when trying to upgrade:

==> Upgrading 1 outdated package, with result:
hhvm 3.0.1
==> Upgrading hhvm
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-3.0.1.tar.gz
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: e1bc784ce475d115d601899d1e890959daa745de
Actual: b4d76135ed38d3b410728ca8af6a030bccbfb6c7
Archive: /Library/Caches/Homebrew/hhvm-3.0.1.tar.gz
To retry an incomplete download, remove the file above.

hhvm server stuck at startup

Thanks to the fix to dependencies I was able to install hhvm (with --HEAD) on Mavericks.
Unfortunately now I am completely stuck.. when I try to start up hhvm as a server the process hangs, eating lots of cpu, and it's incapable of handling requests (every request made to the server hangs indefinitely as well).
The command I'm using to start it up is:

hhvm -m server -p 5555

in a folder containing only an index.php file with an echo in it, executing index.php with

hhvm index.php

works brilliantly.
I don't receive any strange output from the server, nor it crashes, I just don't know what's going on.
What am I missing?

Installing HEAD

$ brew install hhvm --HEAD --verbose
......
[ 56%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/imagick/ext_imagick.cpp.o
In file included from /usr/local/opt/imagemagick/include/ImageMagick-6/wand/MagickWand.h:29:0,
                 from /private/tmp/hhvm-HqOp/hphp/runtime/ext/imagick/ext_imagick.h:23,
                 from /tmp/hhvm-HqOp/hphp/runtime/ext/imagick/ext_imagick.cpp:18:
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix your makefile"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix yours makefile"
   ^
In file included from /usr/local/opt/imagemagick/include/ImageMagick-6/wand/MagickWand.h:29:0,
                 from /tmp/hhvm-HqOp/hphp/runtime/ext/imagick/constants.cpp:20:
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix your makefile"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix yours makefile"
   ^
[ 56%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/imagick/imagick.cpp.o
In file included from /usr/local/opt/imagemagick/include/ImageMagick-6/wand/MagickWand.h:29:0,
                 from /private/tmp/hhvm-HqOp/hphp/runtime/ext/imagick/ext_imagick.h:23,
                 from /tmp/hhvm-HqOp/hphp/runtime/ext/imagick/imagick.cpp:18:
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix your makefile"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix yours makefile"
   ^
[ 56%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/imagick/imagickdraw.cpp.o
In file included from /usr/local/opt/imagemagick/include/ImageMagick-6/wand/MagickWand.h:29:0,
                 from /private/tmp/hhvm-HqOp/hphp/runtime/ext/imagick/ext_imagick.h:23,
                 from /tmp/hhvm-HqOp/hphp/runtime/ext/imagick/imagickdraw.cpp:18:
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix your makefile"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix yours makefile"
   ^
[ 56%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/imagick/imagickpixel.cpp.o
In file included from /usr/local/opt/imagemagick/include/ImageMagick-6/wand/MagickWand.h:29:0,
                 from /private/tmp/hhvm-HqOp/hphp/runtime/ext/imagick/ext_imagick.h:23,
                 from /tmp/hhvm-HqOp/hphp/runtime/ext/imagick/imagickpixel.cpp:18:
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix your makefile"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix yours makefile"
   ^
[ 56%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/imagick/imagickpixeliterator.cpp.o
In file included from /usr/local/opt/imagemagick/include/ImageMagick-6/wand/MagickWand.h:29:0,
                 from /private/tmp/hhvm-HqOp/hphp/runtime/ext/imagick/ext_imagick.h:23,
                 from /tmp/hhvm-HqOp/hphp/runtime/ext/imagick/imagickpixeliterator.cpp:18:
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix your makefile"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp]
 # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
   ^
/usr/local/opt/imagemagick/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
 # warning "this is an obsolete behavior please fix yours makefile"
   ^

Linking CXX executable hhvm
[ 99%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_ext_server.cpp.o
Undefined symbols for architecture x86_64:
  "HPHP::HardwareCounter::GetPerfEvents(HPHP::Array&)", referenced from:
      HPHP::f_hphp_get_hardware_counters()      in libhphp_runtime_ext.a(ext_output.cpp.o)
  "HPHP::HardwareCounter::SetPerfEvents(HPHP::String const&)", referenced from:
      HPHP::f_hphp_set_hardware_events(HPHP::String const&) in libhphp_runtime_ext.a(ext_output.cpp.o)
  "HPHP::HardwareCounter::ClearPerfEvents()", referenced from:
      HPHP::f_hphp_clear_hardware_events()      in libhphp_runtime_ext.a(ext_output.cpp.o)
  "HPHP::HardwareCounter::GetInstructionCount()", referenced from:
      HPHP::f_hphp_instruction_counter()      in libhphp_runtime_ext.a(ext_output.cpp.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [hphp/hhvm/hhvm] Error 1
make[1]: *** [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_logger.cpp.o
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_parser.cpp.o
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_parser_expr.cpp.o
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_parser_stmt.cpp.o
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_server.cpp.o
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/ext/test_util.cpp.o
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/__/hhvm/process-init.cpp.o
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/__/hhvm/global-variables.cpp.o
Linking CXX executable test
Undefined symbols for architecture x86_64:
  "HPHP::HardwareCounter::GetPerfEvents(HPHP::Array&)", referenced from:
      HPHP::f_hphp_get_hardware_counters()      in libhphp_runtime_ext.a(ext_output.cpp.o)
  "HPHP::HardwareCounter::SetPerfEvents(HPHP::String const&)", referenced from:
      HPHP::f_hphp_set_hardware_events(HPHP::String const&) in libhphp_runtime_ext.a(ext_output.cpp.o)
  "HPHP::HardwareCounter::ClearPerfEvents()", referenced from:
      HPHP::f_hphp_clear_hardware_events()      in libhphp_runtime_ext.a(ext_output.cpp.o)
  "HPHP::HardwareCounter::GetInstructionCount()", referenced from:
      HPHP::f_hphp_instruction_counter()      in libhphp_runtime_ext.a(ext_output.cpp.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [hphp/test/test] Error 1
make[1]: *** [hphp/test/CMakeFiles/test.dir/all] Error 2
make: *** [all] Error 2
==> Formula
Tap: mcuadros/hhvm
Path: /usr/local/Library/Taps/mcuadros-hhvm/Formula/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: b5979d76173d202c6754b5a553047dec4c6a7829
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/ncurses:/usr/local/opt/openssl:/usr/local/opt/curl:/usr/local/opt/gmp4:/usr/local/opt/mpfr2:/usr/local/opt/libmpc08:/usr/local/opt/isl011:/usr/local/opt/cloog018:/usr/local/opt/jemallocfb:/usr/local/opt/libarchive:/usr/local/opt/libeventfb:/usr/local/opt/boostfb:/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/gflags/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/libelf/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/isl011/lib/pkgconfig:/usr/local/opt/cloog018/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/opt/curl/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/gflags/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/re2c/bin:/usr/local/opt/pcre/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/gd/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/bin:/usr/local/opt/binutils/bin:/usr/local/opt/ncurses/bin:/usr/local/opt/openssl/bin:/usr/local/opt/curl/bin:/usr/local/opt/imap-uw/bin:/usr/local/opt/cloog018/bin:/usr/local/opt/gcc48/bin:/usr/local/opt/unixodbc/bin:/usr/local/opt/jemallocfb/bin:/usr/local/opt/libarchive/bin:/usr/local/opt/libeventfb/bin:/usr/local/opt/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

Error: hhvm did not build
$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: b5979d76173d202c6754b5a553047dec4c6a7829
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
GCC-4.2: build 5666
Clang: 5.1 build 503
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby

Any ideas?

No rule to make target `/usr/local/opt/gcc48/lib/x86_64/libiberty.a', needed by `hphp/test/test'.

I ran into an issue I don't quite understand. First mysql-connector-c++ didn't want to install, I eventually installed mysql first and then finally did a hhvm force install to get to this point.

By the end of it I finally got to hhvm itself and then I got the following error.

$ brew install hhvm
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.3.1.zip
Already downloaded: /Library/Caches/Homebrew/hhvm-2.3.1.zip
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file hphp/runtime/base/memory-manager-inl.h
patching file hphp/runtime/base/memory-manager.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 305 with fuzz 1.
==> unlink hphp/third_party/folly/folly
==> ln -s /usr/local/opt/folly/folly hphp/third_party/folly/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" -DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib
==> make -j8
make[2]: *** No rule to make target `/usr/local/opt/gcc48/lib/x86_64/libiberty.a', needed by `hphp/test/test'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[100%] Building CXX object hphp/test/CMakeFiles/test.dir/__/hhvm/anchor-syms.cpp.o
make[1]: *** [hphp/test/CMakeFiles/test.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues

I'm up to date.

$ brew update
Already up-to-date.

Here's my config

$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: e126ec926b38ccfcc7c46d3ba32b85afd1ba63d2
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.5-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1377666378
Clang: 5.0 build 500
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

Any suggestions?

Homebrew gcc49 error

brew install hhvm --cc=gcc-4.9 # or 4.7, 4.8, etc.

โžญ brew install hhvm --cc=gcc-4.9 --with-mariadb
==> Installing dependencies for hhvm: libmemcached, gcc48, folly, boostfb
==> Installing hhvm dependency: libmemcached
Warning: Experimental support for non-Apple GCC enabled. Some builds may fail!
==> Downloading https://launchpad.net/libmemcached/1.0/1.0.17/+download/libmemca
Already downloaded: /Library/Caches/Homebrew/libmemcached-1.0.17.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libmemcached/1.0.17
==> make install
      libtest::dream(long, long) in dream.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [libtest/wait] Error 1
make: *** [install] Error 2

Unable to build boostfb in Mac os x mavericks (10.9.2) while trying to install HHVM

I got the below when I tried to install

Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
==> Formula
Tap: mcuadros/hhvm
Path: /usr/local/Library/Taps/mcuadros-hhvm/Formula/boostfb.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: ac9c94b
CPU: quad-core 64-bit haswell
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.0.1.0.1.1382131676
X11: N/A
==> ENV
LD: /usr/local/bin/gcc-4.8
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
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_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/bin:/usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin:/Users/deepasrikanth/.rvm/gems/ruby-2.0.0-p0/bin:/Users/deepasrikanth/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/bin:/Users/deepasrikanth/.rvm/rubies/ruby-2.0.0-p0/bin:/usr/local/bin:/Users/deepasrikanth/.rvm/bin:/usr/local/Library/Contributions/cmd

Error: boostfb did not build

3.0.0 and fastcgi

Hi,
this may be more of a help call than a real issue.
If I try to start hhvm with fastcgi as recommended here http://hhvm.com/blog/4349/hhvm-3-0-0 I get the following error

Uncaught exception: no factory for server type "fastcgi"
After a little bit of googling I found this issue facebook/hhvm#1466 that tells me that fastcgi (and in my understanding hhvm 3.0.0) will not work on a mac

Build failing on OS X 10.9.1

I'm having trouble building hhvm with this Formula on 10.9.1, results in an "ld: symbol(s) not found for architecture x86_64" error.

Here's a gist with the output of brew install hhvm --verbose. https://gist.github.com/jwpage/12797cb74763138ae6dd

I've also tried a brew install hhvm --HEAD, which has the same result. I've done brew update, brew upgrade and `brew dotor and also reinstalled the dependencies. Still the same error.

Any ideas as to what I'm missing?

[bug] mariadb 10.0 force replace 5.5

โžญ brew info mariadb
mariadb: stable 5.5.36 (bottled), devel 10.0.8
http://mariadb.org/
Conflicts with: mysql, mysql-cluster, mysql-connector-c, percona-server
/usr/local/Cellar/mariadb/10.0.7 (523 files, 128M) *
Built from source with: --with-libedit

โžญ brew install hhvm --with-mariadb --cc=gcc-4.9
==> Installing dependencies for hhvm: folly, boostfb, mariadb, mysql

bugs

โžœ ~ brew install hhvm
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Patching
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 27 with fuzz 2.
==> rm -rf hphp/submodules/folly
==> ln -s /usr/local/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/

-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm-Dmo9/hhvm-HHVM-2.4.2/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm-Dmo9/hhvm-HHVM-2.4.2/CMakeFiles/CMakeError.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/mcuadros/homebrew-hhvm/issues

Hunk #1 FAILED at 305.

Submodule path 'hphp/submodules/folly': checked out '8e8b5e75d573305b7a9c34f4a405be5df0f17738'
==> Downloading patches

################################################################## 100.0%

==> Patching
patching file hphp/runtime/base/memory-manager-inl.h
Hunk #1 succeeded at 131 (offset 15 lines).
patching file hphp/runtime/base/memory-manager.h
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 305.
1 out of 1 hunk FAILED -- saving rejects to file hphp/runtime/base/memory-manager.h.rej
Error: Failure while executing: /usr/bin/patch -f -p1 -i 000-homebrew.diff

download file path is wrong

Downloading https://github.com/mcuadros/homebrew-hhvm/releases/download/v3.0.1//hhvm-3.0.1.mavericks.bottle.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "hhvm"

the path should be

https://github.com/mcuadros/homebrew-hhvm/releases/download/v3.0.1/hhvm-3.0.1.mavericks.bottle.tar.gz

2.3.2 build fails

==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.3.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.3.2.tar.gz
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file hphp/runtime/base/memory-manager-inl.h
patching file hphp/runtime/base/memory-manager.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 305 with fuzz 1.
==> unlink hphp/third_party/folly/folly
==> ln -s /usr/local/opt/folly/folly hphp/third_party/folly/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gc
==> make -j4
Linking C static library libtimelib.a
[  8%] Built target timelib
Linking C static library libsqlite3.a
[  8%] Built target sqlite3
make: *** [all] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues

These open issues may also help:
    https://github.com/Homebrew/homebrew/issues/25549

Note, the linked issue doesn't appear to be the same.

Error while installing HEAD

brew upgrade hhvm --HEAD
==> Upgrading 1 outdated package, with result:
hhvm HEAD
==> Upgrading hhvm
==> Cloning https://github.com/facebook/hhvm.git
Updating /Library/Caches/Homebrew/hhvm--git
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DBINUTIL_LIB=/usr/local/opt/gc
    linked by target "hphp_runtime_static" in directory /tmp/hhvm-n9TU/hphp/runtime

-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm-n9TU/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm-n9TU/CMakeFiles/CMakeError.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues

the log files in the "see also" don't exist.

Could not tap mcuadros/homebrew-hhvm

Not sure what's going on, but when I following the instructions:
brew tap mcuadros/homebrew-hhvm

It's didn't do anything. But, this worked:
brew tap mcuadros/hhvm

Conflicting dependencies

In order to install the hhvm formula I have to install and link both "mysql" and "mysql-connector-c", but it looks like it is impossible: if I try to link one while the other is linked I receive an error like the following.

Linking /usr/local/Cellar/mysql-connector-c/6.0.2... Warning: Could not link mysql-connector-c. Unlinking...

Error: Could not symlink file: /usr/local/Cellar/mysql-connector-c/6.0.2/bin/mysql_config
Target /usr/local/bin/mysql_config already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
  brew link --overwrite formula_name

To list all files that would be deleted:
  brew link --overwrite --dry-run formula_name

libarchive-3.1.2 SHA1 Mismatch

jonahgeorge@Fjord:/usr/local $ brew install hhvm
==> Installing dependencies for hhvm: libarchive, libdwarf, boostfb, mysql-connector-c++
==> Installing hhvm dependency: libarchive
==> Downloading http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/libarchive-3.1.2.tar.gz
Error: SHA1 mismatch
Expected: 6a991777ecb0f890be931cec4aec856d1a195489
Actual: dead4421a807f7736f12216e7f41d57399966ab5
Archive: /Library/Caches/Homebrew/libarchive-3.1.2.tar.gz
(To retry an incomplete download, remove the file above.)

brew update does not change anything.
Removing the existing file and reinstalling does not change anything.

http://libarchive.org appears to be down. Is there another way to install this dependency?

Failed build: fatal error: ft2build.h: No such file or directory #include <ft2build.h>

[ 57%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdhelpers.cpp.o
In file included from /tmp/hhvm-Crkl/hphp/runtime/ext/gd/libgd/gdft.cpp:65:0:
/usr/X11R6/include/freetype2/freetype/freetype.h:32:22: fatal error: ft2build.h: No such file or directory
 #include <ft2build.h>
                      ^
compilation terminated.
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdft.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2
==> Formula
Tap: mcuadros/hhvm
Path: /usr/local/Library/Taps/mcuadros-hhvm/Formula/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 99bcc5aa72fe37aaec3296e1460083d8b9f072bf
CPU: 8-core 64-bit ivybridge
OS X: 10.9.1-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
X11: 2.7.5 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/ncurses:/usr/local/opt/curl:/usr/local/opt/gmp4:/usr/local/opt/mpfr2:/usr/local/opt/libmpc08:/usr/local/opt/isl011:/usr/local/opt/cloog018:/usr/local/opt/jemallocfb:/usr/local/opt/libarchive:/usr/local/opt/libeventfb:/usr/local/opt/boostfb:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers:/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/gflags/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/libelf/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/isl011/lib/pkgconfig:/usr/local/opt/cloog018/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/opt/curl/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/gettext/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/gflags/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/re2c/bin:/usr/local/opt/pcre/bin:/usr/local/opt/libpng/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/gd/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/bin:/usr/local/opt/freetype/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/binutils/bin:/usr/local/opt/ncurses/bin:/usr/local/opt/curl/bin:/usr/local/opt/imap-uw/bin:/usr/local/opt/cloog018/bin:/usr/local/opt/gcc48/bin:/usr/local/opt/jemallocfb/bin:/usr/local/opt/libarchive/bin:/usr/local/opt/libeventfb/bin:/usr/local/opt/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

This happens consistently. I've uninstalled and reinstalled freetype2, as well as tried moving the specified header into the same directory the other header is in (out of desperation).

Let me know if you need any more info.

Request: update

Looks like they're up to 2.3.1

Should this continued to be maintained here, or should it be moved into something like homebrew-php (josegonzalez/homebrew-php#843)?

configure failed while install hhvm by homebrew

==> Patching
patching file configure.in
patching file event.c
patching file evhttp.h
patching file http-internal.h
patching file http.c
==> ./autogen.sh
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2598: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from...
configure.in:397: the top level
./autogen.sh: line 9: glibtoolize: command not found
os x 10.9.2
brew install hhvm --HEAD

Build fails on osx 10.9

Hi, i can't build hhvm in mac

==> Cloning https://github.com/facebook/hhvm.git
Updating /Library/Caches/Homebrew/hhvm--git
==> Patching
patching file CMake/HPHPFindLibs.cmake
Hunk #1 succeeded at 29 with fuzz 2 (offset 2 lines).
Hunk #2 FAILED at 386.
Hunk #3 FAILED at 480.
2 out of 3 hunks FAILED -- saving rejects to file CMake/HPHPFindLibs.cmake.rej
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
Error: Applying DATA patch failed

hh_server and hh_client

I can't seem to find the typechecker for hhvm. Does this build hh_client and hh_server somewhere?

Error during build

[ 40%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/parser/hphp.tab.cpp.o
[ 40%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/parser/parser.cpp.o
Linking CXX static library libhphp_analysis.a
[ 40%] Built target hphp_analysis
make: *** [all] Error 2

Make error after "Built target hphp_analysis"

I get this during make:

[ 40%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/parser/hphp.tab.cpp.o
[ 40%] Building CXX object hphp/compiler/CMakeFiles/hphp_analysis.dir/parser/parser.cpp.o
Linking CXX static library libhphp_analysis.a
[ 40%] Built target hphp_analysis
make: *** [all] Error 2

Compilation terminated at "make -j4"

$ brew install hhvm --HEAD
==> Cloning https://github.com/facebook/hhvm.git
Updating /Library/Caches/Homebrew/hhvm--git
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gc
==> make -j4


compilation terminated.
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdft.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues

Cannot install --with-mariadb

It worked before, now it just fails. Am i missing something?

Here is the output:

Lexi:~ arpi$ brew install hhvm --with-mariadb
==> Installing dependencies for hhvm: libssh2, mysql, mysql-connector-c++
==> Installing hhvm dependency: libssh2
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libssh2-1.4.3.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libssh2-1.4.3.mavericks.bottle.tar.gz
  /usr/local/Cellar/libssh2/1.4.3: 177 files, 1.3M
==> Installing hhvm dependency: mysql
Error: Cannot install mysql because conflicting formulae are installed.

  mariadb: because mysql, mariadb, and percona install the same binaries.

Please `brew unlink mariadb` before continuing.

Unlinking removes a formula's symlinks from /usr/local. You can
link the formula again after the install finishes. You can --force this
install, but the build may fail or cause obscure side-effects in the
resulting software.

--with-percona-server defaults to 5.6

Maybe this is a homebrew thing, and I apologize if it is... but currently I have percona-server55 pinned, but when I try to install hhvm --with-percona-server it tries to install 5.6. I finally edited the formula to be explicit but I was wondering if there is a better way to deal with this? I imagine something similar might exist for the stock mysql and mariadb packages as well.

No file to patch. 2.4.2

I just tried updating to 2.4.2 and received this:

shadow:~ croemmich$ brew upgrade -v
==> Upgrading 1 outdated package, with result:
hhvm 2.4.2
==> Upgrading hhvm
rm /usr/local/bin/hphpize
rm /usr/local/bin/hhvm
rm /usr/local/include/zipconf.h
rm /usr/local/include/zip.h
rm /usr/local/lib/libzip.dylib
rm /usr/local/lib/libzip.a
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Verifying hhvm-2.4.2.tar.gz checksum
tar xf /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Downloading patches
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 1.8.7-358; Mac OS X 10.9.2) https://gist.githubusercontent.com/denji/d1fe14215fd4ca74de2f/raw/hhvm-2.4.2-fix-cmake.patch -o 000-homebrew.diff
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   819    0   819    0     0   1752      0 --:--:-- --:--:-- --:--:--  1753
==> Patching
/usr/bin/patch -g 0 -f -p1 -i 000-homebrew.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|index d4ec7c1..543c402
|--- CMake/HPHPFindLibs.cmake
|+++ CMake/HPHPFindLibs.cmake
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
ln -s ../Cellar/hhvm/2.4.1/bin/hphpize hphpize
ln -s ../Cellar/hhvm/2.4.1/bin/hhvm hhvm
ln -s ../Cellar/hhvm/2.4.1/include/zipconf.h zipconf.h
ln -s ../Cellar/hhvm/2.4.1/include/zip.h zip.h
ln -s ../Cellar/hhvm/2.4.1/lib/libzip.dylib libzip.dylib
ln -s ../Cellar/hhvm/2.4.1/lib/libzip.a libzip.a
ln -s ../../Cellar/hhvm/2.4.1 hhvm
ln -s ../Cellar/hhvm/2.4.1 hhvm
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i 000-homebrew.diff

Failure while executing patch

Have followed the instructions by the book:

davids-mbp:~ david$ brew install hhvm
==> Installing hhvm dependency: folly
==> Downloading https://github.com/facebook/folly/archive/a247c8d3ff52e65c097170614ecb0639edebc569.zip
######################################################################## 100.0%
/usr/local/Cellar/folly/a247c8: 342 files, 3.4M, built in 8 seconds
==> Installing hhvm
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.2.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
==> Patching
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|index d4ec7c1..543c402
|--- CMake/HPHPFindLibs.cmake
|+++ CMake/HPHPFindLibs.cmake
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Error: Failure while executing: /usr/bin/patch -f -p1 -i 000-homebrew.diff

Error while installing binutilsfb (HHVM dependency)

Following #56

$ brew update
...
$ brew install hhvm
...
Warning: Could not link binutilsfb. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link binutilsfb'
Possible conflicting files are:
/usr/local/bin/gwindres -> /usr/local/Cellar/binutils/2.24/bin/gwindres
/usr/local/bin/gwindmc -> /usr/local/Cellar/binutils/2.24/bin/gwindmc
/usr/local/bin/gsysdump -> /usr/local/Cellar/binutils/2.24/bin/gsysdump
...
Warning: Could not link binutilsfb. Unlinking...
Error: Cannot install info entry for unbrewed info file '/usr/local/share/info/standards.info'

(by the way /usr/local/share/info/standards.info doesn't exist, I don't know if that's normal)

I then tried:

$ brew link binutilsfb
Linking /usr/local/Cellar/binutilsfb/2.24...
Warning: Could not link binutilsfb. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/binutilsfb/2.24/bin/gwindres
Target /usr/local/bin/gwindres already exists as a symlink to ../Cellar/binutils/2.24/bin/gwindres.
If this file is from another formula, you may need to
`brew unlink` it. Otherwise, you may want to delete it.
To force the link and overwrite all other conflicting files, do:
  brew link --overwrite formula_name

To list all files that would be deleted:
  brew link --overwrite --dry-run formula_name

I'm trying everything I can but I don't get what's wrong.

HHVM with Percona failing on 10.9.2

I have installed all pre-reqs but HHVM with Percona fails on install - see verbose output below.

Verbose install output:

brew install hhvm --HEAD --with-percona-server --verbose

==> Cloning https://github.com/facebook/hhvm.git
git --git-dir /Library/Caches/Homebrew/hhvm--git/.git status -s
Updating /Library/Caches/Homebrew/hhvm--git
git config remote.origin.url https://github.com/facebook/hhvm.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
git checkout -f master
git reset --hard origin/HEAD
HEAD is now at 6398683 Adding WDDX extension (HNI)
git submodule update --init
git reset --hard origin/HEAD
HEAD is now at 6398683 Adding WDDX extension (HNI)
git checkout-index -a -f --prefix=/private/tmp/hhvm-QuKl/
git submodule --quiet foreach --recursive git checkout-index -a -f --prefix=/private/tmp/hhvm-QuKl/$path/
patching file hphp/runtime/base/program-functions.cpp
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
Hunk #1 succeeded at 29 with fuzz 2 (offset 2 lines).
==> Patching
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DLIBIBERTY_LIB=/usr/local/opt/binutilsfb/lib/x86_64/libiberty.a -DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" -DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib" -DLIBEVENT_LIB=/usr/local/opt/libeventfb/lib/libevent.dylib -DLIBEVENT_INCLUDE_DIR=/usr/local/opt/libeventfb/include -DICU_INCLUDE_DIR=/usr/local/opt/icu4c/include -DICU_LIBRARY=/usr/local/opt/icu4c/lib/libicuuc.dylib -DICU_I18N_LIBRARY=/usr/local/opt/icu4c/lib/libicui18n.dylib -DICU_DATA_LIBRARY=/usr/local/opt/icu4c/lib/libicudata.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DNCURSES_LIBRARY=/usr/local/opt/ncurses/lib/libncurses.dylib -DCURL_INCLUDE_DIR=/usr/local/opt/curl/include -DCURL_LIBRARY=/usr/local/opt/curl/lib/libcurl.dylib -DBOOST_INCLUDEDIR=/usr/local/opt/boostfb/include -DBOOST_LIBRARYDIR=/usr/local/opt/boostfb/lib -DBoost_USE_STATIC_LIBS=ON -DJEMALLOC_INCLUDE_DIR=/usr/local/opt/jemallocfb/include -DJEMALLOC_LIB=/usr/local/opt/jemallocfb/lib/libjemalloc.dylib -DLIBINTL_LIBRARIES=/usr/local/opt/gettext/lib/libintl.dylib -DLIBINTL_INCLUDE_DIR=/usr/local/opt/gettext/include -DLIBDWARF_LIBRARIES=/usr/local/opt/libdwarf/lib/libdwarf.3.dylib -DDWARF_INCLUDE_DIR=/usr/local/opt/libdwarf/include -DLIBELF_INCLUDE_DIRS=/usr/local/opt/libelf/include/libelf -DCMAKE_INCLUDE_PATH=/usr/local/opt/binutilsfb/include -DFBD_LIB=/usr/local/opt/binutilsfb/lib/libbfd.a -DBINUTIL_LIB=/usr/local/opt/binutilsfb/lib/libbfd.a -DCCLIENT_INCLUDE_PATH=/usr/local/opt/imap-uw/include/imap -DLIBGLOG_INCLUDE_DIR=/usr/local/opt/glog/include -DLIBJPEG_INCLUDE_DIRS=/usr/local/opt/jpeg/include -DLIBMEMCACHED_INCLUDE_DIR=/usr/local/opt/libmemcached/include -DLIBODBC_INCLUDE_DIRS=/usr/local/opt/unixodbc/include -DLIBPNG_INCLUDE_DIRS=/usr/local/opt/libpng/include -DMcrypt_INCLUDE_DIR=/usr/local/opt/mcrypt/include -DONIGURUMA_INCLUDE_DIR=/usr/local/opt/oniguruma/include -DPCRE_INCLUDE_DIR=/usr/local/opt/pcre/include -DTBB_INCLUDE_DIRS=/usr/local/opt/tbb/include -DTEST_TBB_INCLUDE_DIR=/usr/local/opt/tbb/include -DFREETYPE_INCLUDE_DIRS=/usr/local/opt/freetype/include/freetype2 -DLIBMAGICKWAND_INCLUDE_DIRS=/usr/local/opt/imagemagick/include/ImageMagick-6 -DLIBMAGICKWAND_LIBRARIES=/usr/local/opt/imagemagick/lib/libMagickWand-6.Q16.dylib -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/HEAD -DMYSQL_INCLUDE_DIR=/usr/local/opt/percona-server/include/mysql
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/opt/gcc48/bin/gcc-4.8
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/opt/gcc48/bin/gcc-4.8
-- Check for working C compiler: /usr/local/opt/gcc48/bin/gcc-4.8 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/local/opt/gcc48/bin/g++-4.8
-- Check for working CXX compiler: /usr/local/opt/gcc48/bin/g++-4.8 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Using HPHP_HOME == /usr/local/Cellar/hhvm/HEAD/src
-- Performing Test IS_AARCH64
-- Performing Test IS_AARCH64 - Failed
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
CMake Warning at CMake/HPHPSetup.cmake:59 (message):
chrpath not found, rpath will not be stripped from installed binaries
Call Stack (most recent call first):
hphp/CMakeLists.txt:18 (include)

-- Performing Test HAVE_GCC_47
-- Performing Test HAVE_GCC_47 - Success
-- Performing Test HAVE_GCC_48
-- Performing Test HAVE_GCC_48 - Success
-- Found LibDL: /usr/lib/libdl.dylib
-- Performing Test LIBDL_NEEDS_UNDERSCORE
-- Performing Test LIBDL_NEEDS_UNDERSCORE - Failed
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
-- Found LIBICONV: /usr/lib/libiconv.dylib
-- Performing Test LIBICONV_CONST
-- Performing Test LIBICONV_CONST - Failed
CMake Error at CMake/FindMySQL.cmake:116 (MESSAGE):
Cannot find MySQL. Include dir:
/usr/local/opt/percona-server/include/mysql library dir:
Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:68 (find_package)
CMake/HPHPSetup.cmake:75 (include)
hphp/CMakeLists.txt:18 (include)

-- Configuring incomplete, errors occurred!
See also "/usr/local/Cellar/hhvm/HEAD/src/CMakeFiles/CMakeOutput.log".
See also "/usr/local/Cellar/hhvm/HEAD/src/CMakeFiles/CMakeError.log".
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: dfd0b0d
CPU: quad-core 64-bit haswell
OS X: 10.9.2-x86_64
Xcode: 5.0.2
CLT: 5.1.0.0.1.1393561416
X11: 2.7.5 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/gmp4:/usr/local/opt/mpfr2:/usr/local/opt/libmpc08:/usr/local/opt/isl011:/usr/local/opt/cloog018:/usr/local/opt/boostfb:/usr/local/opt/binutilsfb:/usr/local/opt/ncurses:/usr/local/opt/openssl:/usr/local/opt/curl:/usr/local/opt/jemallocfb:/usr/local/opt/libarchive:/usr/local/opt/libeventfb:/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/gflags/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/libelf/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/lib/pkgconfig:/usr/local/opt/isl011/lib/pkgconfig:/usr/local/opt/cloog018/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/opt/curl/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/gflags/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/re2c/bin:/usr/local/opt/pcre/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/gd/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/bin:/usr/local/opt/cloog018/bin:/usr/local/opt/gcc48/bin:/usr/local/opt/binutilsfb/bin:/usr/local/opt/ncurses/bin:/usr/local/opt/openssl/bin:/usr/local/opt/curl/bin:/usr/local/opt/imap-uw/bin:/usr/local/opt/unixodbc/bin:/usr/local/opt/jemallocfb/bin:/usr/local/opt/libarchive/bin:/usr/local/opt/libeventfb/bin:/usr/local/opt/percona-server/bin:/usr/bin:/bin:/usr/sbin:/sbin

Logs:
/Users/syoung/Library/Logs/Homebrew/hhvm/01.cmake
/Users/syoung/Library/Logs/Homebrew/hhvm/01.cmake.cc

error installing: /usr/local/include/openssl/lhash.h:166:4: note: '_LHASH' declared here

~ brew install hhvm                                                                                                                Luiss-MacBook-Pro-3 [23:19:38]
==> Installing dependencies for hhvm: cclient, jemallocfb, bsdmake, libarchive, libdwarf, libeventfb, boostfb
==> Installing hhvm dependency: cclient
==> Downloading ftp://ftp.cac.washington.edu/mail/imap.tar.Z
Already downloaded: /Library/Caches/Homebrew/cclient-2007e.tar.Z
==> Patching
patching file Makefile
Hunk #1 succeeded at 419 (offset 1 line).
patching file src/osdep/unix/ckp_pam.c
==> /usr/bin/make oxp MAKEFLAGS=
13 errors generated.
make[3]: *** [osdep.o] Error 1
make[2]: *** [osx] Error 2
make[1]: *** [OSTYPE] Error 2
make: *** [oxp] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues
~ brew update                                                                                                                       Luiss-MacBook-Pro-3 [1:00:35]
Updated Homebrew from 16c60c21 to 031c831f.
==> New Formulae
sassc
==> Updated Formulae
bup                 josegonzalez/php/drupal-code-sniffer    openrtsp                squid
curl                    josegonzalez/php/php-code-sniffer   openssl                 tbb
diffpdf                 josegonzalez/php/php53-riak     pdns                    tomee-webprofile
dpkg                    josegonzalez/php/php54-riak     percona-server              vert.x
dub                 josegonzalez/php/php55-riak     ruby-build              wireshark
gsoap                   libsass                 scala                   zsh
jags                    libuv                   snzip
josegonzalez/php/abstract-php       newlisp                 sphinx
~ brew --config                                                                                                                     Luiss-MacBook-Pro-3 [1:12:32]
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 031c831f17073b1fb529dd5f7b7ee253b6e75695
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.1-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1....
GCC-4.2: build 5666
Clang: 5.0 build 500
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/cordoval/.rbenv/shims/ruby
~ brew install -v foo 2>&1                                                                                                          Luiss-MacBook-Pro-3 [1:13:18]
Error: No available formula for foo
Searching taps...

Error during make

Hi, I have an error during the compilation on osx mavericks.

brew install hhvm
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Patching
patching file CMake/HPHPFindLibs.cmake
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
==> rm -rf hphp/submodules/folly
==> ln -s /usr/local/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_ASM_COMPILER=/usr/bin/clang -DLIBIBERTY_LIB=/usr
==> make -j4
Linking C static library libtimelib.a
[  7%] Built target timelib
Linking C static library libsqlite3.a
[  7%] Built target sqlite3
make: *** [all] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues

Here the verbose log

Thanks for the help.

Make stops

When I run install, I get:

$> brew install hhvm --with-mariadb
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Patching
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 27 with fuzz 2.
==> rm -rf hphp/submodules/folly
==> ln -s /usr/local/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMP


-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm-EN6d/hhvm-HHVM-2.4.2/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm-EN6d/hhvm-HHVM-2.4.2/CMakeFiles/CMakeError.log".

Trying to install HEAD, I get:

$> brew install hhvm --with-mariadb --HEAD
==> Cloning https://github.com/facebook/hhvm.git
Updating /Library/Caches/Homebrew/hhvm--git
==> Patching
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 29 with fuzz 1 (offset 2 lines).
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMP
==> make -j8
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libfolly.a(InlineExecutor.cpp.o) has no symbols
[ 23%] Built target folly
Linking C static library libsqlite3.a
[ 23%] Built target sqlite3
make: *** [all] Error 2

I updated brew and upgraded everything. brew doctor didn't find any issue.

"ld: library not found for -lelf" in dependency libdwarf while building hhvm (Mac OS X 10.9.2)

Got some error while installing hhvm:
Error: libdwarf did not build

There is full ouput for "brew install hhvm -v":
https://gist.github.com/Wwwound/9954240

?$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: dfd0b0d
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
Clang: 5.1 build 503
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby

brew fail

ran with brew install hhvm --HEAD first, got this error, ran again without the --HEAD option, still gettting this error.

==> Downloading http://downloads.sourceforge.net/project/boost/boost/1.55.0/boos
Already downloaded: /Library/Caches/Homebrew/boostfb-1.55.0.tar.bz2
==> ./bootstrap.sh --prefix=/usr/local/Cellar/boostfb/1.55.0 --libdir=/usr/local
==> ./b2 --prefix=/usr/local/Cellar/boostfb/1.55.0 --libdir=/usr/local/Cellar/bo
...skipped <pbin.v2/libs/serialization/build/darwin/release/link-static/threading-multi>libboost_wserialization-mt.a for lack of <pbin.v2/libs/serialization/build/darwin/release/link-static/threading-multi>basic_text_wiprimitive.o...
...skipped <p/usr/local/Cellar/boostfb/1.55.0/lib>libboost_wserialization-mt.a for lack of <pbin.v2/libs/serialization/build/darwin/release/link-static/threading-multi>libboost_wserialization-mt.a...
...failed updating 348 targets...
...skipped 304 targets...
...updated 10925 targets...

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues

Install fails

I am not able to install hhvm, it's unclear to me what is happening - see below. Thanks!

stan@Maximus ~> brew install hhvm --with-percona-server --debug --verbose
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/hhvm.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/cmake.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libtool.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/automake.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/pkg-config.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/freetype.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libpng.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gettext.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/mcrypt.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/glog.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gflags.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/oniguruma.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/re2c.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libelf.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/readline.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/pcre.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gd.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/jpeg.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/fontconfig.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libtiff.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/imagemagick.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/icu4c.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libmemcached.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/memcached.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libevent.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/tbb.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/boostfb.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gcc48.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gmp4.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libmpc08.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/mpfr2.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/cloog018.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/isl011.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/binutilsfb.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/ncurses.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libssh2.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/openssl.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/makedepend.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/curl.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/imap-uw.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/unixodbc.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/folly.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/jemallocfb.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libdwarf.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/bsdmake.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libarchive.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libeventfb.rb
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/percona-server.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/freetype.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libpng.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gettext.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/mcrypt.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/glog.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gflags.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/oniguruma.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/re2c.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libelf.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/readline.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/pcre.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gd.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/jpeg.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/fontconfig.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libtiff.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/imagemagick.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libtool.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/icu4c.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libmemcached.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/memcached.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libevent.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/tbb.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/boostfb.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gcc48.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gmp4.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libmpc08.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/mpfr2.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/cloog018.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/isl011.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/binutilsfb.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/ncurses.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libssh2.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/openssl.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/curl.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/imap-uw.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/unixodbc.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/folly.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/jemallocfb.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libdwarf.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libarchive.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/libeventfb.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/percona-server.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/cmake.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/automake.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/pkg-config.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/makedepend.rb
/usr/local/Library/Formula/hhvm.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/bsdmake.rb
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-3.0.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-3.0.1.tar.gz
==> Verifying hhvm-3.0.1.tar.gz checksum
tar xf /Library/Caches/Homebrew/hhvm-3.0.1.tar.gz
==> Downloading https://github.com/facebook/hhvm/pull/2089.diff
Already downloaded: /Library/Caches/Homebrew/hhvm--patch-2e4b5db532f0da7e5bb6e536c27d8866ea519603.diff
==> Verifying hhvm--patch-2e4b5db532f0da7e5bb6e536c27d8866ea519603.diff checksum
==> Downloading https://github.com/facebook/hhvm/pull/2147.diff
Already downloaded: /Library/Caches/Homebrew/hhvm--patch-4bea16fc99ccd6f49431a3c82a99c82ce5c4bba0.diff
==> Verifying hhvm--patch-4bea16fc99ccd6f49431a3c82a99c82ce5c4bba0.diff checksum
==> Patching
/usr/bin/patch -g 0 -f -d /private/tmp/hhvm-sejY/hhvm-HHVM-3.0.1 -p1 -i /private/tmp/hhvm--patch-2QsC/2089.diff
patching file hphp/runtime/ext/ext_network.cpp
Hunk #1 succeeded at 38 (offset 3 lines).
/usr/bin/patch -g 0 -f -d /private/tmp/hhvm-sejY/hhvm-HHVM-3.0.1 -p1 -i /private/tmp/hhvm--patch-5zkK/2147.diff
patching file hphp/runtime/base/program-functions.cpp
patching file hphp/runtime/ext/imagick/imagick.cpp
patching file hphp/runtime/base/program-functions.cpp
Hunk #1 succeeded at 1143 (offset -1 lines).
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
Hunk #1 succeeded at 29 with fuzz 1 (offset 2 lines).
==> rm -rf hphp/submodules/folly
==> ln -s /usr/local/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DLIBIBERTY_LIB=/usr/local/opt/binutilsfb/lib/x86_64/libiberty.a -DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" -DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib" -DLIBEVENT_LIB=/usr/local/opt/libeventfb/lib/libevent.dylib -DLIBEVENT_INCLUDE_DIR=/usr/local/opt/libeventfb/include -DICU_INCLUDE_DIR=/usr/local/opt/icu4c/include -DICU_LIBRARY=/usr/local/opt/icu4c/lib/libicuuc.dylib -DICU_I18N_LIBRARY=/usr/local/opt/icu4c/lib/libicui18n.dylib -DICU_DATA_LIBRARY=/usr/local/opt/icu4c/lib/libicudata.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DNCURSES_LIBRARY=/usr/local/opt/ncurses/lib/libncurses.dylib -DCURL_INCLUDE_DIR=/usr/local/opt/curl/include -DCURL_LIBRARY=/usr/local/opt/curl/lib/libcurl.dylib -DBOOST_INCLUDEDIR=/usr/local/opt/boostfb/include -DBOOST_LIBRARYDIR=/usr/local/opt/boostfb/lib -DBoost_USE_STATIC_LIBS=ON -DJEMALLOC_INCLUDE_DIR=/usr/local/opt/jemallocfb/include -DJEMALLOC_LIB=/usr/local/opt/jemallocfb/lib/libjemalloc.dylib -DLIBINTL_LIBRARIES=/usr/local/opt/gettext/lib/libintl.dylib -DLIBINTL_INCLUDE_DIR=/usr/local/opt/gettext/include -DLIBDWARF_LIBRARIES=/usr/local/opt/libdwarf/lib/libdwarf.3.dylib -DDWARF_INCLUDE_DIR=/usr/local/opt/libdwarf/include -DLIBELF_INCLUDE_DIRS=/usr/local/opt/libelf/include/libelf -DCMAKE_INCLUDE_PATH=/usr/local/opt/binutilsfb/include -DFBD_LIB=/usr/local/opt/binutilsfb/lib/libbfd.a -DBINUTIL_LIB=/usr/local/opt/binutilsfb/lib/libbfd.a -DCCLIENT_INCLUDE_PATH=/usr/local/opt/imap-uw/include/imap -DLIBGLOG_INCLUDE_DIR=/usr/local/opt/glog/include -DLIBJPEG_INCLUDE_DIRS=/usr/local/opt/jpeg/include -DLIBMEMCACHED_INCLUDE_DIR=/usr/local/opt/libmemcached/include -DLIBODBC_INCLUDE_DIRS=/usr/local/opt/unixodbc/include -DLIBPNG_INCLUDE_DIRS=/usr/local/opt/libpng/include -DMcrypt_INCLUDE_DIR=/usr/local/opt/mcrypt/include -DONIGURUMA_INCLUDE_DIR=/usr/local/opt/oniguruma/include -DPCRE_INCLUDE_DIR=/usr/local/opt/pcre/include -DTBB_INCLUDE_DIRS=/usr/local/opt/tbb/include -DTEST_TBB_INCLUDE_DIR=/usr/local/opt/tbb/include -DFREETYPE_INCLUDE_DIRS=/usr/local/opt/freetype/include/freetype2 -DLIBMAGICKWAND_INCLUDE_DIRS=/usr/local/opt/imagemagick/include/ImageMagick-6 -DLIBMAGICKWAND_LIBRARIES=/usr/local/opt/imagemagick/lib/libMagickWand-6.Q16.dylib -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.0.1 -DMYSQL_INCLUDE_DIR=/usr/local/opt/percona-server/include/mysql
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/opt/gcc48/bin/gcc-4.8
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/opt/gcc48/bin/gcc-4.8
-- Check for working C compiler: /usr/local/opt/gcc48/bin/gcc-4.8 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/local/opt/gcc48/bin/g++-4.8
-- Check for working CXX compiler: /usr/local/opt/gcc48/bin/g++-4.8 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Using HPHP_HOME == /usr/local/Cellar/hhvm/3.0.1/src
-- Performing Test IS_AARCH64
-- Performing Test IS_AARCH64 - Failed
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
CMake Warning at CMake/HPHPSetup.cmake:54 (message):
chrpath not found, rpath will not be stripped from installed binaries
Call Stack (most recent call first):
hphp/CMakeLists.txt:18 (include)

-- Performing Test HAVE_GCC_47
-- Performing Test HAVE_GCC_47 - Success
-- Performing Test HAVE_GCC_48
-- Performing Test HAVE_GCC_48 - Success
-- Found LibDL: /usr/lib/libdl.dylib
-- Performing Test LIBDL_NEEDS_UNDERSCORE
-- Performing Test LIBDL_NEEDS_UNDERSCORE - Failed
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- regex
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
-- Found LIBICONV: /usr/lib/libiconv.dylib
-- Performing Test LIBICONV_CONST
-- Performing Test LIBICONV_CONST - Failed
CMake Error at CMake/FindMySQL.cmake:116 (MESSAGE):
Cannot find MySQL. Include dir:
/usr/local/opt/percona-server/include/mysql library dir:
Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:72 (find_package)
CMake/HPHPSetup.cmake:70 (include)
hphp/CMakeLists.txt:18 (include)

-- Configuring incomplete, errors occurred!
See also "/usr/local/Cellar/hhvm/3.0.1/src/CMakeFiles/CMakeOutput.log".
See also "/usr/local/Cellar/hhvm/3.0.1/src/CMakeFiles/CMakeError.log".
/usr/local/Library/Homebrew/formula.rb:616:in `system'
BuildError: Failed executing: cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DLIBIBERTY_LIB=/usr/local/opt/binutilsfb/lib/x86_64/libiberty.a -DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" -DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib" -DLIBEVENT_LIB=/usr/local/opt/libeventfb/lib/libevent.dylib -DLIBEVENT_INCLUDE_DIR=/usr/local/opt/libeventfb/include -DICU_INCLUDE_DIR=/usr/local/opt/icu4c/include -DICU_LIBRARY=/usr/local/opt/icu4c/lib/libicuuc.dylib -DICU_I18N_LIBRARY=/usr/local/opt/icu4c/lib/libicui18n.dylib -DICU_DATA_LIBRARY=/usr/local/opt/icu4c/lib/libicudata.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DNCURSES_LIBRARY=/usr/local/opt/ncurses/lib/libncurses.dylib -DCURL_INCLUDE_DIR=/usr/local/opt/curl/include -DCURL_LIBRARY=/usr/local/opt/curl/lib/libcurl.dylib -DBOOST_INCLUDEDIR=/usr/local/opt/boostfb/include -DBOOST_LIBRARYDIR=/usr/local/opt/boostfb/lib -DBoost_USE_STATIC_LIBS=ON -DJEMALLOC_INCLUDE_DIR=/usr/local/opt/jemallocfb/include -DJEMALLOC_LIB=/usr/local/opt/jemallocfb/lib/libjemalloc.dylib -DLIBINTL_LIBRARIES=/usr/local/opt/gettext/lib/libintl.dylib -DLIBINTL_INCLUDE_DIR=/usr/local/opt/gettext/include -DLIBDWARF_LIBRARIES=/usr/local/opt/libdwarf/lib/libdwarf.3.dylib -DDWARF_INCLUDE_DIR=/usr/local/opt/libdwarf/include -DLIBELF_INCLUDE_DIRS=/usr/local/opt/libelf/include/libelf -DCMAKE_INCLUDE_PATH=/usr/local/opt/binutilsfb/include -DFBD_LIB=/usr/local/opt/binutilsfb/lib/libbfd.a -DBINUTIL_LIB=/usr/local/opt/binutilsfb/lib/libbfd.a -DCCLIENT_INCLUDE_PATH=/usr/local/opt/imap-uw/include/imap -DLIBGLOG_INCLUDE_DIR=/usr/local/opt/glog/include -DLIBJPEG_INCLUDE_DIRS=/usr/local/opt/jpeg/include -DLIBMEMCACHED_INCLUDE_DIR=/usr/local/opt/libmemcached/include -DLIBODBC_INCLUDE_DIRS=/usr/local/opt/unixodbc/include -DLIBPNG_INCLUDE_DIRS=/usr/local/opt/libpng/include -DMcrypt_INCLUDE_DIR=/usr/local/opt/mcrypt/include -DONIGURUMA_INCLUDE_DIR=/usr/local/opt/oniguruma/include -DPCRE_INCLUDE_DIR=/usr/local/opt/pcre/include -DTBB_INCLUDE_DIRS=/usr/local/opt/tbb/include -DTEST_TBB_INCLUDE_DIR=/usr/local/opt/tbb/include -DFREETYPE_INCLUDE_DIRS=/usr/local/opt/freetype/include/freetype2 -DLIBMAGICKWAND_INCLUDE_DIRS=/usr/local/opt/imagemagick/include/ImageMagick-6 -DLIBMAGICKWAND_LIBRARIES=/usr/local/opt/imagemagick/lib/libMagickWand-6.Q16.dylib -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.0.1 -DMYSQL_INCLUDE_DIR=/usr/local/opt/percona-server/include/mysql

  1. raise
  2. ignore
  3. backtrace
  4. shell
    Choose an action: 4
    When you exit this shell, you will return to the menu.
    bash-3.2$

Catch error when trying to install libeventfb on OSX 10.9

OSX 10.9

Catch following error when trying to install libeventfb:

$ brew install libeventfb
==> Cloning https://github.com/libevent/libevent.git
Updating /Library/Caches/Homebrew/libeventfb--git
==> Checking out tag release-1.4.14b-stable
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file configure.in
patching file event.c
patching file evhttp.h
patching file http-internal.h
patching file http.c
==> ./autogen.sh
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
sh: autom4te: command not found
aclocal: error: echo failed with exit status: 127

After some investigation I noticed that autoconf version may be wrong:

$ autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

Patching issue

Hi, I have an error during hhvm install.

==> Patching
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
can't find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/HPHPFindLibs.cmake b/HPHPFindLibs.cmake
|index d4ec7c1..2d0a2b3 100644
|--- a/HPHPFindLibs.cmake
|+++ b/HPHPFindLibs.cmake
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
Error: Applying DATA patch failed

Do you have any ideas ?

I looked at #47 and #46 but it's doesn't help me.

Thanks

Failure while downloading patches on OS X 10.9.1

~ $ brew install hhvm
==> Installing dependencies for hhvm: glog, oniguruma, re2c, libelf, gd,
==> Installing hhvm dependency: glog
==> Downloading http://google-glog.googlecode.com/files/glog-0.3.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/glog-0.3.3.tar.gz
==> Downloading patches

################################################################## 100.0%
################################################################## 100.0%

curl: (22) The requested URL returned error: 404 Not Found
Error: Failure while executing: /usr/bin/curl -f#LA Homebrew\ 0.9.5\ (Ruby\ 1.8.7-358;\ Mac\ OS\ X\ 10.9.1) https://gist.github.com/danslo/7128754/raw/9b19991da4753f5efb87ae9a6939e6c3e9bc1fdf/glog_logging_r134.diff -o 000-homebrew.diff https://google-glog.googlecode.com/issues/attachment?aid=1210003000&name=libc%2B%2B.diff&token=XibcNVdg2suz1w646JbsbHHOkJs%3A1382896876470 -o 001-homebrew.diff

FastCGI server type

FastCGI was introduced in HHVM 2.3.0, but I've tried both the latest stable version from homebrew (2.3.2) as well as the current master/HEAD, but neither seem to include the FastCGI server type:

$ hhvm --version
HipHop VM v2.4.0-dev (rel)
Compiler: 1388480950_N
Repo schema: N_1388480950

$ hhvm --mode server -vServer.Type=fastcgi -vServer.Port=9000
mapping self...
mapping self took 0'00" (17 us) wall time
Uncaught exception: no factory for server type "fastcgi"\n      

Is this something related to the build process?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.