Skip to content

Instantly share code, notes, and snippets.

@ysasaki
Created April 2, 2014 17:39
Show Gist options
  • Save ysasaki/9939107 to your computer and use it in GitHub Desktop.
Save ysasaki/9939107 to your computer and use it in GitHub Desktop.
Finish installing hhvm
% sudo brew install hhvm --HEAD Password:
==> 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 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=/usr/local/opt/gcc48/bin/gcc-4
==> make -j4
==> make install
Warning: hhvm dependency gettext was built with a different C++ standard
library (libc++ from clang). This could cause problems at runtime.
==> Caveats
If you have XQuartz (X11) installed:
To temporarily remove a symbolic link at '/usr/X11R6' in order
to successfully install HHVM.
$ sudo rm /usr/X11R6
$ sudo ln -s /opt/X11 /usr/X11R6
MySQL to compile, by default will use Oracle MySQL
Select MariaDB: --with-mariadb
or
Select Percona-Server: --with-percona-server
==> Summary
? /usr/local/Cellar/hhvm/HEAD: 8 files, 47M, built in 89.2 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment