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 ()
cmake.
— CMAKE_PREFIX_PATH was missing, proceeding anyway
— MySQL Include dir: /usr/include/mysql library dir: /lib64/mysql
— MySQL client libraries: mysqlclient_r
— Found libevent: /usr/lib/libevent.so
— Found GD: /usr/lib64/libgd.so
— Found ICU header files in /usr/include
— Found ICU libraries: /usr/lib64/libicuuc.so
— Can't find minimal tcmalloc
— Found Intel TBB
— Found mcrypt: /usr/lib64/libmcrypt.so
— Found LibDwarf: /usr/lib64/libdwarf.so
Generating Release build
— Looking for arpa/inet.h
— Looking for arpa/inet.h — found
— Looking for netinet/in.h
— Looking for netinet/in.h — found
— Looking for stddef.h
— Looking for stddef.h — found
— Looking for stdint.h
— Looking for stdint.h — found
— Looking for string.h
— Looking for string.h — found
— Looking for sys/socket.h
— Looking for sys/socket.h — found
— Looking for sys/time.h
— Looking for sys/time.h — found
— Looking for unistd.h
— Looking for unistd.h — found
— Looking for sys/types.h
— Looking for sys/types.h — found
— Looking for stdint.h
— Looking for stdint.h — found
— Looking for stddef.h
— Looking for stddef.h — found
— Check size of size_t
— Check size of size_t — done
— Check size of ssize_t
— Check size of ssize_t — done
— Check size of uint32_t
— Check size of uint32_t — done
— Check size of uint8_t
— Check size of uint8_t — done
— Looking for AF_LOCAL
— Looking for AF_LOCAL — found
— Looking for PF_LOCAL
— Looking for PF_LOCAL — found
— Looking for memset
— Looking for memset — found
— Looking for socket
— Looking for socket — found
— Looking for strerror
— Looking for strerror — found
— Found libevent: /usr/lib/libevent.so
— Looking for event_get_version_number
— Looking for event_get_version_number — not found
— Performing Test HAVE_LIBEVENT_145
— Performing Test HAVE_LIBEVENT_145 — Success
— Found libevent 1.4.5+
— Looking for include file stdlib.h
— Looking for include file stdlib.h — found
— Looking for include file assert.h
— Looking for include file assert.h — found
— Looking for strcasecmp
— Looking for strcasecmp — found
— Looking for strchr
— Looking for strchr — found
— Looking for include file sys/stat.h
— Looking for include file sys/stat.h — found
— Looking for include file stdlib.h
— Looking for include file stdlib.h — found
— Looking for include file string.h
— Looking for include file string.h — found
— Looking for include file memory.h
— Looking for include file memory.h — found
— Looking for include file strings.h
— Looking for include file strings.h — found
— Looking for include file inttypes.h
— Looking for include file inttypes.h — found
— Looking for include file unistd.h
— Looking for include file unistd.h — found
— Looking for include file dlfcn.h
— Looking for include file dlfcn.h — found
— Looking for fdatasync
— Looking for fdatasync — found
— Looking for usleep
— Looking for usleep — found
— Looking for fullfsync
— Looking for fullfsync — not found
— Looking for localtime_r
— Looking for localtime_r — found
— Looking for gmtime_r
— Looking for gmtime_r — found
— Looking for pthread_create in pthread
— Looking for pthread_create in pthread — found
— Check if the system is big endian
— Searching 16 bit integer
— Check size of unsigned short
— Check size of unsigned short — done
— Using unsigned short
— Check if the system is big endian — little endian
— Looking for include file locale.h
— Looking for include file locale.h — found
— Looking for include file limits.h
— Looking for include file limits.h — found
— Check size of int32_t
— Check size of int32_t — done
— Looking for strtoll
— Looking for strtoll — found
— Looking for atoll
— Looking for atoll — found
— Looking for strftime
— Looking for strftime — found
— Looking for setlocale
— Looking for setlocale — found
— Performing Test FOLLY_IFUNC
— Performing Test FOLLY_IFUNC — Failed
— Configuring done
— Generating done
— Build files have been written to: /home/kir/dev/hiphop-php
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/kir/dev/libevent/libevent.so)
set(LIBEVENT_INCLUDE_DIR /home/kir/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 ()
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- MySQL Include dir: /usr/include/mysql library dir: /lib64/mysql
-- MySQL client libraries: mysqlclient_r
-- Found libevent: /usr/lib/libevent.so
-- Found GD: /usr/lib64/libgd.so
-- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0")
-- Looking for curl_multi_select
-- Looking for curl_multi_select - not found
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.1.0")
-- Found ICU header files in /usr/include
-- Found ICU libraries: /usr/lib64/libicuuc.so
-- Can't find minimal tcmalloc
ERROR: Unable to find Intel TBB install directory.
CMake Error at CMake/HPHPFindLibs.cmake:213 (if):
if given arguments:
"LESS" "5005"
Unknown arguments specified
Call Stack (most recent call first):
CMake/HPHPSetup.cmake:46 (include)
hphp/CMakeLists.txt:18 (include)
-- Configuring incomplete, errors occurred!
ависимости определены
================================================================================
Package Архитектура Версия Репозиторий Размер
================================================================================
Установка:
libmemcached-devel x86_64 1.0.16-1.fc19 fedora 219 k
Установка зависимостей:
libevent x86_64 2.0.18-3.fc19 fedora 175 k
libmemcached x86_64 1.0.16-1.fc19 fedora 235 k
Итого за операцию
================================================================================
Установить 1 пакет (+2 зависимых)
[***@localhost hiphop-php]$ sudo yum list libevent
Загружены модули: langpacks, refresh-packagekit
Доступные пакеты
libevent.i686 2.0.18-3.fc19 fedora
libevent.x86_64 2.0.18-3.fc19 fedora
[***@localhost hiphop-php]$ sudo ls /usr/include/*event*
пусто
[***@localhost hiphop-php]$ sudo ls /usr/lib/*event*
/usr/lib/libevent-1.4.so.2 /usr/lib/libevent_extra-1.4.so.2
/usr/lib/libevent-1.4.so.2.2.0 /usr/lib/libevent_extra-1.4.so.2.2.0
/usr/lib/libevent.a /usr/lib/libevent_extra.a
/usr/lib/libevent_core-1.4.so.2 /usr/lib/libevent_extra.la
/usr/lib/libevent_core-1.4.so.2.2.0 /usr/lib/libevent_extra.so
/usr/lib/libevent_core.a /usr/lib/libevent.la
/usr/lib/libevent_core.la /usr/lib/libevent.so
/usr/lib/libevent_core.so
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- MySQL Include dir: /usr/include/mysql library dir: /lib64/mysql
-- MySQL client libraries: mysqlclient_r
-- Found LIBMEMCACHED: /usr/lib64/libmemcached.so
-- Found PCRE: /usr/lib64/libpcre.so
-- Found libevent: /usr/lib64/libevent.so
-- Looking for evhttp_bind_socket_with_fd
-- Looking for evhttp_bind_socket_with_fd - not found
CMake Error at CMake/HPHPFindLibs.cmake:87 (message):
Custom libevent is required with HipHop patches
Call Stack (most recent call first):
CMake/HPHPSetup.cmake:46 (include)
hphp/CMakeLists.txt:18 (include)
Зависимости определены
================================================================================
Package Архитектура
Версия Репозиторий Размер
================================================================================
Удаление:
libevent x86_64 2.0.18-3.fc19 @koji-override-0/$releasever 624 k
Удаление зависимостей:
NetworkManager-l2tp x86_64 0.9.8-1.fc19 @koji-override-0/$releasever 332 k
gnome-boxes x86_64 3.8.4-2.fc19 @updates 4.1 M
gnutls-dane x86_64 3.1.11-1.fc19 @koji-override-0/$releasever 77 k
gnutls-utils x86_64 3.1.11-1.fc19 @koji-override-0/$releasever 1.3 M
libmemcached x86_64 1.0.16-1.fc19 @fedora 677 k
libmemcached-devel x86_64 1.0.16-1.fc19 @fedora 593 k
libreswan x86_64 3.5-2.fc19 @updates 3.1 M
libvirt-client x86_64 1.0.5.5-1.fc19 @updates 20 M
libvirt-daemon x86_64 1.0.5.5-1.fc19 @updates 4.6 M
libvirt-daemon-driver-interface
x86_64 1.0.5.5-1.fc19 @updates 93 k
libvirt-daemon-driver-network
x86_64 1.0.5.5-1.fc19 @updates 126 k
libvirt-daemon-driver-nodedev
x86_64 1.0.5.5-1.fc19 @updates 93 k
libvirt-daemon-driver-nwfilter
x86_64 1.0.5.5-1.fc19 @updates 159 k
libvirt-daemon-driver-qemu
x86_64 1.0.5.5-1.fc19 @updates 919 k
libvirt-daemon-driver-secret
x86_64 1.0.5.5-1.fc19 @updates 76 k
libvirt-daemon-driver-storage
x86_64 1.0.5.5-1.fc19 @updates 192 k
libvirt-daemon-kvm x86_64 1.0.5.5-1.fc19 @updates 0.0
libvirt-glib x86_64 0.1.6-1.fc19 @koji-override-0/$releasever 144 k
libvirt-gobject x86_64 0.1.6-1.fc19 @koji-override-0/$releasever 205 k
memcached x86_64 1.4.15-4.fc19 @fedora 171 k
memcached-devel x86_64 1.4.15-4.fc19 @fedora 16 k
nfs-utils x86_64 1:1.2.8-4.0.fc19 @updates 1.0 M
php-pecl-memcached x86_64 2.1.0-7.fc19 @fedora 206 k
transmission-common x86_64 2.80-2.fc19 @updates 2.8 M
transmission-gtk x86_64 2.80-2.fc19 @updates 3.1 M
unbound-libs x86_64 1.4.20-9.fc19 @koji-override-0/$releasever 771 k
Итого за операцию
================================================================================
Удалить 1 пакет (+26 зависимых)
[***@localhost hiphop-php]$ cmake .
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- Performing Test HAVE_GCC_46
-- Performing Test HAVE_GCC_46 - Success
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- regex
-- Found LIBGLOG: /usr/lib/libglog.so
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY)
-- Found LIBUNWIND: /usr/lib64/libunwind.so
-- Could NOT find LIBICONV (missing: LIBICONV_LIBRARY)
-- Performing Test LIBICONV_CONST
-- Performing Test LIBICONV_CONST - Failed
-- MySQL Include dir: /usr/include/mysql library dir: /lib64/mysql
-- MySQL client libraries: mysqlclient_r
-- Could NOT find LIBMEMCACHED (missing: LIBMEMCACHED_LIBRARY LIBMEMCACHED_INCLUDE_DIR)
CMake Error at CMake/HPHPFindLibs.cmake:68 (message):
libmemcache is too old, found and we need 0.39
Call Stack (most recent call first):
CMake/HPHPSetup.cmake:46 (include)
hphp/CMakeLists.txt:18 (include)