hhvm/homebrew-hhvm

Unable to install hhvm using brew install command on ubuntu v22

peeyush284 opened this issue · 2 comments

Here are the steps I followed to install hhvm on my ubuntu machine:
brew install hhvm

Problem description goes here
Unable to install hhvm on ubuntu machine.

Context and Logs

Downloading https://dl.hhvm.com/source/hhvm-4.137.0.tar.gz
######################################################################## 100.0%
==> Installing hhvm-4.137 from hhvm/hhvm
==> cmake -DCMAKE_INSTALL_SYSCONFDIR=/home/linuxbrew/.linuxbrew/etc -DDEFAULT_CO
Last 15 lines from /home/peeyush/.cache/Homebrew/Logs/hhvm-4.137/01.cmake:
-- Could NOT find LibElf (missing: LIBELF_INCLUDE_DIRS)
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Failed
CMake Error at /home/linuxbrew/.linuxbrew/Cellar/cmake/3.22.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find LibDwarf (missing: LIBELF_FOUND)
Call Stack (most recent call first):
/home/linuxbrew/.linuxbrew/Cellar/cmake/3.22.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
CMake/FindLibDwarf.cmake:61 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/HPHPFindLibs.cmake:259 (find_package)
CMakeLists.txt:79 (include)

-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm-4.137-20211125-18551-1ka1u06/hhvm-4.137.0/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm-4.137-20211125-18551-1ka1u06/hhvm-4.137.0/CMakeFiles/CMakeError.log".

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

Parameter Value
OS X Version: your OS X version
Homebrew Version: your Homebrew version
Xcode Version: your Xcode version

Output of clang -v:
result of the CLI output

Build logs: Link to public gist created with brew gist-logs hhvm

I'm having this issue as well. Has there been any resolution on this?

Same thing happening for me...
But on MAC, not ubuntu