hhvm / homebrew-hhvm

Official Mac OS X Homebrew formula for HHVM
MIT License
81 stars 22 forks source link

Cannot install in Sierra #62

Closed crodas closed 8 years ago

crodas commented 8 years ago

Context and Logs

Parameter Value
OS X Version: 10.12.1
Homebrew Version: 1.1.0
Xcode Version: 8.1 (8B62)

Output of clang -v:

==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.15.2.tar.bz2
Already downloaded: /Users/crodas/Library/Caches/Homebrew/hhvm-3.15.2.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.15.2_1 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ -DCM
==> make

Last 15 lines from /Users/crodas/Library/Logs/Homebrew/hhvm/02.make:
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/mem-file.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/memory-manager.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/mixed-array.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/object-data.cpp.o
[ 54%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/output-file.cpp.o
In file included from /tmp/hhvm-20161109-67005-cwgjeg/hhvm-3.15.2/hphp/runtime/base/object-data.cpp:32:
In file included from /tmp/hhvm-20161109-67005-cwgjeg/hhvm-3.15.2/hphp/runtime/ext/simplexml/ext_simplexml.h:22:
/tmp/hhvm-20161109-67005-cwgjeg/hhvm-3.15.2/hphp/runtime/ext/libxml/ext_libxml.h:23:10: fatal error: 'libxml/parser.h' file not found
#include <libxml/parser.h>
         ^
1 error generated.
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/object-data.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

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/hhvm/homebrew-hhvm/issues

These open issues may also help:
brew install failure for hhvm 3.15.1, build target folly https://github.com/hhvm/homebrew-hhvm/issues/58
jwatzman commented 8 years ago

Try xcode-select --install, build again, and paste new logs if it still fails?

crodas commented 8 years ago

Thanks @jwatzman! It worked. I'm closing the issue now.