Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Unable to install hhvm using brew install command on ubuntu v22 #144

Open
peeyush284 opened this issue Nov 25, 2021 · 2 comments
Open

Unable to install hhvm using brew install command on ubuntu v22 #144

peeyush284 opened this issue Nov 25, 2021 · 2 comments

Comments

@peeyush284
Copy link

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

@heyglassy
Copy link

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

@afdans
Copy link

afdans commented Jan 23, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants