facebook/hiphop-php — Issue #467: CMake Error: The following variables are used in this project, but they are set to NOTFOUND
Author: purab
Created: 2012-01-12 07:40:17+00:00
State: open

I am using the Centos 5.7. While running cmake command I got the following error.
[root@localhost hiphop-php]# rm CMakeCache.txt
rm: remove regular file `CMakeCache.txt'? y
[root@localhost hiphop-php]# cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc44
-- Check for working C compiler: /usr/bin/gcc44 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- Performing Test HAVE_GCC_43
-- Performing Test HAVE_GCC_43 - Success
-- Boost version: 1.37.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- MySQL Include dir: /usr/include library dir: /usr/lib64
-- 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 - found
-- Looking for gdImagePng in /usr/lib64/libgd.so
-- Looking for gdImagePng in /usr/lib64/libgd.so - found
-- Found ZLIB: /lib64/libz.so
-- Found PNG: /usr/lib64/libpng.so
-- Looking for gdImageJpeg in /usr/lib64/libgd.so
-- Looking for gdImageJpeg in /usr/lib64/libgd.so - found
-- Found JPEG: /usr/lib64/libjpeg.so
-- Looking for gdImageGif in /usr/lib64/libgd.so
-- Looking for gdImageGif in /usr/lib64/libgd.so - found
-- Found GD: /usr/lib64/libgd.so
-- Found CURL: /usr/lib64/libcurl.so
-- Looking for curl_multi_select
-- Looking for curl_multi_select - found
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.7.6
-- Found LibXml2: /usr/lib64/libxml2.so
-- Found EXPAT: /usr/lib64/libexpat.so
-- Found ICU header files in /usr/include
-- Found ICU libraries: /usr/lib64/libicuuc.so
-- Can't find jemalloc
-- Can't find minimal tcmalloc
-- Found Intel TBB
-- Found mcrypt: /usr/lib64/libmcrypt.so
-- Found OpenSSL: /usr/lib64/libssl.so
-- Found BZip2: /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Found ONIGURUMA: /usr/lib64/libonig.so
-- Found ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so
-- Found Readline: /usr/include
-- 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/lib64/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 files INCLUDE_CHECK_stdlib.h
-- Looking for include files INCLUDE_CHECK_stdlib.h - found
-- Looking for include files INCLUDE_CHECK_assert.h
-- Looking for include files INCLUDE_CHECK_assert.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for include files HAVE_SYS_STAT_H
-- Looking for include files HAVE_SYS_STAT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_STRING_H
-- Looking for include files HAVE_STRING_H - found
-- Looking for include files HAVE_MEMORY_H
-- Looking for include files HAVE_MEMORY_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_INTTYPES_H
-- Looking for include files HAVE_INTTYPES_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_DLFCN_H
-- Looking for include files HAVE_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 files HAVE_LOCALE_H
-- Looking for include files HAVE_LOCALE_H - found
-- Looking for include files HAVE_LIMITS_H
-- Looking for include files HAVE_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
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NCURSES_INCLUDE_PATH (ADVANCED)
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/xhp/xhp
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libafdt
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl/nls
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl/filters
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl/mbfl
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libsqlite3
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/timelib
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/compiler
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/hphp
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/test
NCURSES_LIBRARY (ADVANCED)
linked by target "hphp_runtime_static" in directory /home/smarttest/hiphop/hiphop-php/src
PAM_INCLUDE_PATH (ADVANCED)
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/xhp/xhp
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libafdt
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl/nls
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl/filters
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libmbfl/mbfl
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/libsqlite3
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/third_party/timelib
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/compiler
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/hphp
used as include directory in directory /home/smarttest/hiphop/hiphop-php/src/test
PAM_LIBRARY (ADVANCED)
linked by target "hphp_runtime_static" in directory /home/smarttest/hiphop/hiphop-php/src

-- Configuring incomplete, errors occurred!

Please help me to solve this issue.