[***@localhost hiphop-php]$ cmake .
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
CMake Error at CMake/FindLibunwind.cmake:19 (message):
libunwind.h found without matching unwind.h
Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:42 (find_package)
CMake/HPHPSetup.cmake:46 (include)
hphp/CMakeLists.txt:18 (include)
-- Configuring incomplete, errors occurred!
...
[***@localhost ~]$ sudo yum list boost libunwind gcc elfutils-libelf-devel
[sudo] password for ***:
Загружены модули: langpacks, refresh-packagekit
Установленные пакеты
boost.x86_64 1.53.0-12.fc19 @updates
elfutils-libelf-devel.x86_64 0.156-3.fc19 @updates
gcc.x86_64 4.8.1-1.fc19 @fedora
libunwind.x86_64 1.1-2.fc19 @koji-override-0/$releasever
Доступные пакеты
elfutils-libelf-devel.i686 0.156-3.fc19 updates
libunwind.i686 1.1-2.fc19 fedora
find_library(LIBEVENT_LIB NAMES event PATHS ${LibEvent_LIB_PATHS})
if (LIBEVENT_LIB AND LIBEVENT_INCLUDE_DIR)
set(LibEvent_FOUND TRUE)
set(LIBEVENT_LIB ${LIBEVENT_LIB})
else ()
set(LIBEVENT_LIB /home/user/dev/libevent/libevent.so)
set(LIBEVENT_INCLUDE_DIR /home/user/dev/libevent)
if (LIBEVENT_LIB AND LIBEVENT_INCLUDE_DIR)
set(LibEvent_FOUND TRUE)
set(LIBEVENT_LIB ${LIBEVENT_LIB})
else ()
set(LibEvent_FOUND FALSE)
endif ()
endif ()
/home/kir/dev/hiphop-php/hphp/runtime/ext/ext_memcached.cpp:763:26: замечание: in expansion of macro «LMCD_SERVER_MICRO_VERSION»
uint8_t microVersion = LMCD_SERVER_MICRO_VERSION(server);
^
/home/kir/dev/hiphop-php/hphp/runtime/ext/ext_memcached.cpp: В функции-члене «HPHP::Variant HPHP::c_Memcached::t_getversion()»:
/home/kir/dev/hiphop-php/hphp/runtime/ext/ext_memcached.cpp:778:63: ошибка: некорректное преобразование из «memcached_return_t (*)(const memcached_st*, const memcached_instance_st*, void*)» в «memcached_server_function {aka memcached_return_t (*)(const memcached_st*, const org::libmemcached::Instance*, void*)}» [-fpermissive]
memcached_server_function callbacks[] = { doVersionCallback };
^
make[2]: *** [hphp/CMakeFiles/hphp_runtime_static.dir/runtime/ext/ext_memcached.cpp.o] Ошибка 1
make[1]: *** [hphp/CMakeFiles/hphp_runtime_static.dir/all] Ошибка 2
make: *** [all] Ошибка 2