无法在 Ubuntu 16.04 Oracle VM VirtualBox 中安装 CMake

无法在 Ubuntu 16.04 Oracle VM VirtualBox 中安装 CMake

我进行如下操作:

cd cmake-3.13.4

sudo ./bootstrap

sudo make

sudo make install

我收到错误:

make: 'cmake' is up to date.
loading initial cache file /home/agnivo/Desktop/cmake/cmake-3.18.5/Bootstrap.cmk/InitialCacheFlags.cmake
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
CMake Error at Utilities/cmcurl/CMakeLists.txt:485 (message):
  Could not find OpenSSL.  Install an OpenSSL development package or
  configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.

请帮忙。

相关内容