-
Notifications
You must be signed in to change notification settings - Fork 22
Error when install hack #153
Comments
It looks like you are trying to build HHVM for ARM64 target, which is not supported. |
Hi there, I used following command to install and got same error: brew tap hhvm/hhvm If HHVM is not for ARM64 target, do I need to other command to install? Thanks |
While I didn't test but some people successfully installed amd64 apps on M1 mac: https://medium.com/mkdir-awesome/how-to-install-x86-64-homebrew-packages-on-apple-m1-macbook-54ba295230f Something like
|
Thanks Yang. The above command works for me, and hhvm is installed in my machine. However, after installed, I still cannot use the hhvm. Do I need to do something like change Path variable for that? Thanks in advance! |
Maybe remove |
Yeah it took hours to compile if I remove that command. However, I got same outcome as above... Still cannot run hhvm in my terminal.. Any other advices? Thanks.. Sorry for any inconvience.. |
Description
There is an expected error when I install the hack and may I ask for help?
Context and Logs
==> Installing hhvm/hhvm/hhvm-4.159
==> cmake -DCMAKE_INSTALL_SYSCONFDIR=/opt/homebrew/etc -DDEFAULT_CONFIG_DIR=/opt/homebrew/etc/hhvm -DSYSTEM_PCRE_HAS_JIT=0 -DENABLE_MCR
==> make -j1 hack_rust_ffi_bridge_targets
Last 15 lines from /Users/yunchenliu/Library/Logs/Homebrew/hhvm-4.159/02.make:
"_sqlite3_backup_pagecount", referenced from:
rusqlite::backup::Backup::progress::h93278a90a6b51c36 in librusqlite-00a8c3b5c05ca5e6.rlib(rusqlite-00a8c3b5c05ca5e6.rusqlite.7f871c8f-cgu.12.rcgu.o)
"_sqlite3_backup_init", referenced from:
rusqlite::backup::Backup::new_with_names::h49fd44cb204e52d2 in librusqlite-00a8c3b5c05ca5e6.rlib(rusqlite-00a8c3b5c05ca5e6.rusqlite.7f871c8f-cgu.12.rcgu.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile
hack_macro
due to previous errorerror: build failed
cp: /tmp/hhvm-4.159-20220429-86242-10as29n/hhvm-4.159.0/hphp/hack/_build/rust_ffi/hphp/hack/src/hackc/ffi_bridge/release/libcompiler_ffi.a: No such file or directory
make[3]: *** [hphp/hack/_build/rust_ffi/hphp/hack/src/hackc/ffi_bridge/compiler_ffi.cpp] Error 1
make[2]: *** [hphp/hack/CMakeFiles/compiler_cxx.dir/all] Error 2
make[1]: *** [hphp/hack/CMakeFiles/hack_rust_ffi_bridge_targets.dir/rule] Error 2
make: *** [hack_rust_ffi_bridge_targets] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/hhvm/homebrew-hhvm/issues
Output of clang -v:
Nan
Build logs: Link to public gist created with
brew gist-logs hhvm
Nan
The text was updated successfully, but these errors were encountered: