facebook/hiphop-php — Issue #460: Cmake could not find LibElf (using vm branch)
Author: ci-build-amplemind
Created: 2012-01-06 19:25:17+00:00
State: open

After installing all the required libraries and set all the required enviroment variables (I followed this tutorial: http://php.webtutor.pl/en/2011/04/22/howto-install-hiphop-for-php-on-centos-5-x/comment-page-1/#comment-419)
I got this after running "cmake ." in hiphop directory.

– CMAKE_PREFIX_PATH was missing, proceeding anyway
– MySQL Include dir: /usr/include library dir: /usr/lib64/mysql
– MySQL client libraries: mysqlclient_r
– Found libevent: /root/hiphop/local/lib/libevent.so
– Found GD: /usr/lib64/libgd.so
– Found ICU header files in /root/hiphop/local/include
– Found ICU libraries: /root/hiphop/local/lib/libicuuc.so
– Can’t find jemalloc
– Can’t find minimal tcmalloc
– Found Intel TBB
– Found mcrypt: /usr/lib64/libmcrypt.so
CMake Error at /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Could NOT find LibElf (missing: LIBELF_LIBRARIES LIBELF_INCLUDE_DIRS)
Call Stack (most recent call first):
CMake/FindLibElf.cmake:50 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/FindLibDwarf.cmake:12 (find_package)
CMake/HPHPFindLibs.cmake:250 (find_package)
CMake/HPHPSetup.cmake:46 (include)
src/CMakeLists.txt:18 (include)

– Configuring incomplete, errors occurred!