getdnsapi / getdns

A modern asynchronous DNS API https://getdnsapi.net/
Other
461 stars 127 forks source link

Missing packages when doing cmake . #485

Open ShivanKaul opened 4 years ago

ShivanKaul commented 4 years ago

I ran into missing packages after doing cmake . (this is after installing the packages mentioned in the README). I'm on Ubuntu 18.04

$ cmake .

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.1.1", minimum required is "1.0.2")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")
-- Could NOT find Libev (missing: LIBEV_LIBRARIES LIBEV_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:797 (message):
  Libev support library build requested, but libev not found.  Disabled.

-- Could NOT find Libevent2 (missing: LIBEVENT2_LIBRARIES LIBEVENT2_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:848 (message):
  Libevent2 support library build requested, but libevent2 not found.
  Disabled.

-- Could NOT find Libuv (missing: LIBUV_LIBRARIES LIBUV_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:900 (message):
  Libuv support library build requested, but libuv not found.  Disabled.

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Check (missing: CHECK_LIBRARIES CHECK_INCLUDE_DIR) (Required
  is at least version "0.9.6")
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindCheck.cmake:92 (find_package_handle_standard_args)
  CMakeLists.txt:937 (find_package)

Simple resolution was to install them manually, but might be worth mentioning them in the README.