Saturday, March 29, 2014

Trying HHVM

So I was trying HHVM on a VPS when I encountered the error "list sub-command REMOVE_AT requires list to be present". Having no idea of what it is, I tried a Google search and ended up with a page of results (5 or something with half of them in Chinese) and no pointer at all...

The full stack is like this

CMake Error at CMake/EXTFunctions.cmake:8 (list):
  list sub-command REMOVE_AT requires list to be present.
Call Stack (most recent call first):
  hphp/runtime/ext/imagick/config.cmake:12 (HHVM_LINK_LIBRARIES)
  hphp/runtime/ext/CMakeLists.txt:24 (include)

So I went in...

vi CMake/EXTFunctions.cmake

Found some macro definitions and some function declarations. The two things that caused error are both macro so I change them to function and it works! See the edited file here.

At least CMAKE worked and now I'm running MAKE. I will update this post when I got HHVM running.

So HHVM has been compiled and ran smoothly on my box. I submitted a pull request on github, you guys should check it out.

No comments:

Post a Comment