Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Compilation terminated at "make -j4" #28

Closed
hfcorriez opened this issue Feb 16, 2014 · 4 comments
Closed

Compilation terminated at "make -j4" #28

hfcorriez opened this issue Feb 16, 2014 · 4 comments

Comments

@hfcorriez
Copy link

$ 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
@mcuadros
Copy link
Owner

Please run: "brew install hhvm --HEAD --verbose"

@hfcorriez
Copy link
Author

[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdfonts.cpp.o
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdfontt.cpp.o
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdft.cpp.o
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdhelpers.cpp.o
[ 56%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/ext/gd/libgd/gdkanji.cpp.o
In file included from /tmp/hhvm-I2GM/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: 805d04238450dc7d9e22bd2873ad1633bfa05188
CPU: quad-core 64-bit sandybridge
OS X: 10.9.1-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1382131676
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/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
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/icu4c/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/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
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/bin:/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/icu4c/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/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

Error: hhvm did not build
Logs:
     /Users/hfcorriez/Library/Logs/Homebrew/hhvm/01.cmake
     /Users/hfcorriez/Library/Logs/Homebrew/hhvm/01.cmake.cc
     /Users/hfcorriez/Library/Logs/Homebrew/hhvm/02.make
     /Users/hfcorriez/Library/Logs/Homebrew/hhvm/02.make.cc
     /Users/hfcorriez/Library/Logs/Homebrew/hhvm/CMakeCache.txt

@xavierlacot
Copy link

Seems duplicate of #11
@hfcorriez, you may have installed XQuartz. A workaround seems to remove a symlink: facebook/hhvm#1580 (comment)

@hfcorriez
Copy link
Author

Thanks, I'll try it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants