Skip to content

Instantly share code, notes, and snippets.

@Shunzi007
Created February 4, 2018 16:10
Show Gist options
  • Save Shunzi007/7a45b4d848317eedd1e5b252aced43c8 to your computer and use it in GitHub Desktop.
Save Shunzi007/7a45b4d848317eedd1e5b252aced43c8 to your computer and use it in GitHub Desktop.
Error of libevent cmake
-- Looking for _GNU_SOURCE
-- Looking for _GNU_SOURCE - not found
-- Looking for CTL_KERN - found
-- Looking for KERN_ARND - not found
-- Looking for KERN_RANDOM - not found
-- Looking for RANDOM_UUID - not found
-- Checking if kqueue works with pipes...
CMake Error at /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindOpenSSL.cmake:390 (find_package_handle_standard_args)
CMakeLists.txt:695 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/wangshun/Desktop/libevent/build/CMakeFiles/CMakeOutput.log".
See also "/Users/wangshun/Desktop/libevent/build/CMakeFiles/CMakeError.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment