Skip to content

Instantly share code, notes, and snippets.

@oker1
Created February 17, 2014 10:12
Show Gist options
  • Save oker1/9048014 to your computer and use it in GitHub Desktop.
Save oker1/9048014 to your computer and use it in GitHub Desktop.
homebrew-hhvm
> $ brew install -v hhvm [±master]
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.0.tar.gz
==> Verifying hhvm-2.4.0.tar.gz checksum
tar xf /Library/Caches/Homebrew/hhvm-2.4.0.tar.gz
==> rm -rf hphp/submodules/folly
==> ln -s /opt/homebrew/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/opt/homebrew/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/opt/homebrew/opt/gcc48/bin/gcc-4.8 -DBINUTIL_LIB=/opt/homebrew/opt/gcc48/lib/x86_64/libiberty-4.8.a -DLIBIBERTY_LIB=/opt/homebrew/opt/gcc48/lib/x86_64/libiberty-4.8.a -DCMAKE_INCLUDE_PATH="/opt/homebrew/include:/usr/include" -DCMAKE_LIBRARY_PATH="/opt/homebrew/lib:/usr/lib" -DLIBEVENT_LIB=/opt/homebrew/opt/libeventfb/lib/libevent.dylib -DLIBEVENT_INCLUDE_DIR=/opt/homebrew/opt/libeventfb/include -DICU_INCLUDE_DIR=/opt/homebrew/opt/icu4c/include -DICU_LIBRARY=/opt/homebrew/opt/icu4c/lib/libicuuc.dylib -DICU_I18N_LIBRARY=/opt/homebrew/opt/icu4c/lib/libicui18n.dylib -DICU_DATA_LIBRARY=/opt/homebrew/opt/icu4c/lib/libicudata.dylib -DREADLINE_INCLUDE_DIR=/opt/homebrew/opt/readline/include -DREADLINE_LIBRARY=/opt/homebrew/opt/readline/lib/libreadline.dylib -DNCURSES_LIBRARY=/opt/homebrew/opt/ncurses/lib/libncurses.dylib -DCURL_INCLUDE_DIR=/opt/homebrew/opt/curl/include -DCURL_LIBRARY=/opt/homebrew/opt/curl/lib/libcurl.dylib -DBOOST_INCLUDEDIR=/opt/homebrew/opt/boostfb/include -DBOOST_LIBRARYDIR=/opt/homebrew/opt/boostfb/lib -DBoost_USE_STATIC_LIBS=ON -DJEMALLOC_INCLUDE_DIR=/opt/homebrew/opt/jemallocfb/include -DJEMALLOC_LIB=/opt/homebrew/opt/jemallocfb/lib/libjemalloc.dylib -DLIBINTL_LIBRARIES=/opt/homebrew/opt/gettext/lib/libintl.dylib -DLIBINTL_INCLUDE_DIR=/opt/homebrew/opt/gettext/include -DLIBDWARF_LIBRARIES=/opt/homebrew/opt/libdwarf/lib/libdwarf.3.dylib -DLIBDWARF_INCLUDE_DIRS=/opt/homebrew/opt/libdwarf/include -DLIBELF_INCLUDE_DIRS=/opt/homebrew/opt/libelf/include/libelf -DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/hhvm/2.4.0
-- 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: /opt/homebrew/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: /opt/homebrew/opt/gcc48/bin/gcc-4.8
-- Check for working C compiler: /opt/homebrew/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: /opt/homebrew/opt/gcc48/bin/g++-4.8
-- Check for working CXX compiler: /opt/homebrew/opt/gcc48/bin/g++-4.8 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Using HPHP_HOME == /private/tmp/hhvm-Nkd0/hhvm-HHVM-2.4.0
-- Performing Test IS_AARCH64
-- Performing Test IS_AARCH64 - Failed
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
CMake Warning at CMake/HPHPSetup.cmake:47 (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
-- Found LIBGLOG: /opt/homebrew/lib/libglog.dylib
-- 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: MYSQL_INCLUDE_DIR-NOTFOUND library dir:
/opt/homebrew/lib
Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:65 (find_package)
CMake/HPHPSetup.cmake:63 (include)
hphp/CMakeLists.txt:18 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm-Nkd0/hhvm-HHVM-2.4.0/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm-Nkd0/hhvm-HHVM-2.4.0/CMakeFiles/CMakeError.log".
==> Formula
Tap: mcuadros/hhvm
Path: /opt/homebrew/Library/Taps/mcuadros-hhvm/Formula/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 3df0a13a6a72c81c3520f07b9eea979fc327c380
HOMEBREW_PREFIX: /opt/homebrew
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: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /opt/homebrew/opt/gettext:/opt/homebrew/opt/readline:/opt/homebrew/opt/icu4c:/opt/homebrew/opt/ncurses:/opt/homebrew/opt/curl:/opt/homebrew/opt/gmp4:/opt/homebrew/opt/mpfr2:/opt/homebrew/opt/libmpc08:/opt/homebrew/opt/isl011:/opt/homebrew/opt/cloog018:/opt/homebrew/opt/jemallocfb:/opt/homebrew/opt/libarchive:/opt/homebrew/opt/libeventfb:/opt/homebrew/opt/boostfb:/opt/homebrew
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: /opt/homebrew/opt/libpng/lib/pkgconfig:/opt/homebrew/opt/freetype/lib/pkgconfig:/opt/homebrew/opt/gflags/lib/pkgconfig:/opt/homebrew/opt/glog/lib/pkgconfig:/opt/homebrew/opt/oniguruma/lib/pkgconfig:/opt/homebrew/opt/libelf/lib/pkgconfig:/opt/homebrew/opt/pcre/lib/pkgconfig:/opt/homebrew/opt/gd/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/libevent/lib/pkgconfig:/opt/homebrew/opt/libmemcached/lib/pkgconfig:/opt/homebrew/opt/imagemagick/lib/pkgconfig:/opt/homebrew/opt/curl/lib/pkgconfig:/opt/homebrew/opt/isl011/lib/pkgconfig:/opt/homebrew/opt/cloog018/lib/pkgconfig:/opt/homebrew/opt/libarchive/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/ENV/pkgconfig/10.9
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /opt/homebrew/opt/gettext/share/aclocal:/opt/homebrew/opt/curl/share/aclocal:/opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/ENV/4.3:/opt/homebrew/opt/cmake/bin:/opt/homebrew/opt/libtool/bin:/opt/homebrew/opt/autoconf/bin:/opt/homebrew/opt/automake/bin:/opt/homebrew/opt/pkg-config/bin:/opt/homebrew/opt/libpng/bin:/opt/homebrew/opt/freetype/bin:/opt/homebrew/opt/gettext/bin:/opt/homebrew/opt/mcrypt/bin:/opt/homebrew/opt/gflags/bin:/opt/homebrew/opt/oniguruma/bin:/opt/homebrew/opt/re2c/bin:/opt/homebrew/opt/pcre/bin:/opt/homebrew/opt/jpeg/bin:/opt/homebrew/opt/gd/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/libevent/bin:/opt/homebrew/opt/memcached/bin:/opt/homebrew/opt/libmemcached/bin:/opt/homebrew/opt/imagemagick/bin:/opt/homebrew/opt/binutils/bin:/opt/homebrew/opt/ncurses/bin:/opt/homebrew/opt/curl/bin:/opt/homebrew/opt/imap-uw/bin:/opt/homebrew/opt/cloog018/bin:/opt/homebrew/opt/gcc48/bin:/opt/homebrew/opt/jemallocfb/bin:/opt/homebrew/opt/libarchive/bin:/opt/homebrew/opt/libeventfb/bin:/opt/homebrew/opt/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: hhvm did not build
Logs:
/Users/oker/Library/Logs/Homebrew/hhvm/01.folly
/Users/oker/Library/Logs/Homebrew/hhvm/02.folly
/Users/oker/Library/Logs/Homebrew/hhvm/03.cmake
/Users/oker/Library/Logs/Homebrew/hhvm/03.cmake.cc
/Users/oker/Library/Logs/Homebrew/hhvm/CMakeCache.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment