hhvm / homebrew-hhvm

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

failed to install hhvm 4.110 on Mojave #142

Closed saiyang123 closed 3 years ago

saiyang123 commented 3 years ago

Description

I am trying to install hhvm, but installation failed.

$ brew install hhvm Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 5 formulae.

==> Installing hhvm-4.110 from hhvm/hhvm ==> Downloading https://dl.hhvm.com/source/hhvm-4.110.0.tar.gz Already downloaded: /Users/saiyang/Library/Caches/Homebrew/downloads/c05955eb620920b3bdd2695c9a245ab10be25838cf4b540a9ddee0ac41f17882--hhvm-4.110.0.tar.gz ==> cmake -DCMAKE_INSTALL_SYSCONFDIR=/usr/local/etc -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DSYSTEM_PCRE_HAS_JIT=0 -DENABLE_MCROUTER=OFF -DENABLE_EXTENSION_MCRO ==> make Last 15 lines from /Users/saiyang/Library/Logs/Homebrew/hhvm-4.110/02.make:

Run eval $(opam env --root=/private/tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/hphp/hack/_build/opam) to update the current shell environment

opam switch correctly installed at /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/hphp/hack/_build/opam dune version is 2.6.2 [ 13%] Built target opam_setup

rust installed.

cd /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc/bundled_rust-prefix/src/bundled_rust-build && /usr/local/Cellar/cmake/3.20.2/bin/cmake -E touch /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc/bundled_rust-prefix/src/bundled_rust-stamp/bundled_rust-install [ 13%] Completed 'bundled_rust' cd /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc && /usr/local/Cellar/cmake/3.20.2/bin/cmake -E make_directory /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc/CMakeFiles cd /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc && /usr/local/Cellar/cmake/3.20.2/bin/cmake -E touch /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc/CMakeFiles/bundled_rust-complete cd /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc && /usr/local/Cellar/cmake/3.20.2/bin/cmake -E touch /tmp/hhvm-4.110-20210525-68389-2bp7oe/hhvm-4.110.0/third-party/rustc/bundled_rust-prefix/src/bundled_rust-stamp/bundled_rust-done [ 13%] Built target bundled_rust 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

fredemmott commented 3 years ago

It shouldn't be attempting to build from source

saiyang123 commented 3 years ago

Thanks for replying.

My Mac is macOS Mojave, version 10.14.6 Processor 2.4 GHZ Intel Core i9

I am new to hhvm, I followed the documented steps: brew tap hhvm/hhvm brew install hhvm

fredemmott commented 3 years ago

Sorry, 4.103 is the most recent version that is available for Mojave, as our dependencies no longer support MacOS Mojava; to use a more recent version, you'll need to either: