Comments (5)
Hi,
Unfortunately, I face the same problem on OSX 10.9.2. It compiles everything just fine, but runs into trouble when it tries to link the stuff. Here a little more information:
[100%] Built target ext_hhvm_static
Scanning dependencies of target hhvm
[100%] [100%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/global-variables.cpp.o
[100%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/main.cpp.o
Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/process-init.cpp.o
Linking CXX executable hhvm
Undefined symbols for architecture x86_64:
"_FT_Done_Face", referenced from:
fontRelease(void*) in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Done_FreeType", referenced from:
_gdFontCacheShutdown in libhphp_runtime_ext.a(gdft.cpp.o)
gdFreeFontCache() in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Done_Glyph", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Get_Char_Index", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Get_Glyph", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Get_Kerning", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Glyph_Get_CBox", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Glyph_To_Bitmap", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Init_FreeType", referenced from:
_gdFontCacheSetup in libhphp_runtime_ext.a(gdft.cpp.o)
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Load_Glyph", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_New_Face", referenced from:
fontFetch(char**, void*) in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Set_Char_Size", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.cpp.o)
"_FT_Set_Transform", referenced from:
_gdImageStringFTEx in libhphp_runtime_ext.a(gdft.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: *** [all] Error 2
==> Formula
Tap: mcuadros/hhvm
Path: /usr/local/Library/Taps/mcuadros-hhvm/Formula/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 40425cf30dfb874a3441027fa999106f7d52e109
CPU: 8-core 64-bit haswell
OS X: 10.9.2-x86_64
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/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/fontconfig/lib/pkgconfig:/usr/local/opt/libtiff/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/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS:/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/fontconfig/bin:/usr/local/opt/libtiff/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/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Error: hhvm did not build
I hope that helps.
from homebrew-hhvm.
looks like exists a mismatch in you instalation between so and the headers provided in the compilation, i will try to replicate
from homebrew-hhvm.
Thanks! Let me know if I can provide more info about the issue.
from homebrew-hhvm.
@max-voloshin Similar to the problem of linking libraries with hhvm objects
Homebrew/legacy-homebrew#859 (comment)
from homebrew-hhvm.
@denji, thanks, but I finally install hhvm
with brew install hhvm --HHVM-3.0.1
from homebrew-hhvm.
Related Issues (20)
- Folly: couldn't understand kern.osversion `14.1.0' HOT 2
- couldn't understand kern.osversion `14.1.0' HOT 2
- error: 'elf.h' file not found with <angled> include; use "quotes" instead HOT 1
- hhvm failed to build on 10.10.2 HOT 3
- Google code dependency on *glog* needs to be replaced HOT 1
- jpeglib.h: No such file or directory
- HHVM experimental LLVM code generator
- Current master build fails
- failed libreadline depends HOT 3
- COMPILATION ERROR in OSX 10.10 HOT 23
- error in 10.10 install HOT 8
- What happened to the repo? HOT 2
- undefined method `desc' for Formulary::Formulae::Hhvm:Class HOT 1
- HHVM compilation error with --HEAD --verbose on 10.10.4 HOT 5
- Issue installling hhvm on mac 10.10.4 HOT 2
- Another week another attempt with --HEAD --verbose HOT 23
- Another attempt with --HEAD --verbose HOT 1
- Missing comma in hhvm.rb
- HHVM Official tap announcement HOT 3
- hhvm does not compile on Mac Os HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-hhvm.