-- Running cmake version 2.8.12.2
-- MySQL 5.6.49
-- Packaging as: mysql-5.6.49-Linux-x86_64
CMake Error at cmake/zlib.cmake:28 (ADD_SUBDIRECTORY):
add_subdirectory given source "zlib" which is not an existing directory.
Call Stack (most recent call first):
cmake/zlib.cmake:54 (MYSQL_USE_BUNDLED_ZLIB)
CMakeLists.txt:475 (MYSQL_CHECK_ZLIB_WITH_COMPRESS)
--
Wrong option or path for WITH_SSL=bundled.
Make sure you have specified a supported SSL version.
Valid options are :
system (use the OS openssl library),
yes (synonym for system),
</path/to/custom/openssl/installation>
CMake Error at cmake/ssl.cmake:66 (MESSAGE):
Please install the appropriate openssl developer package.
Call Stack (most recent call first):
cmake/ssl.cmake:265 (FATAL_SSL_NOT_FOUND_ERROR)
CMakeLists.txt:483 (MYSQL_CHECK_SSL)
-- Configuring incomplete, errors occurred!
See also "/home/yuchao/tools/mysql-5.6.49/CMakeFiles/CMakeOutput.log".
See also "/home/yuchao/tools/mysql-5.6.49/CMakeFiles/CMakeError.log".
-
第一个错误是关于zlib的。它指出
add_subdirectory
命令尝试添加一个名为"zlib"的子目录,但该目录不存在。这可能是因为在CMakeLists.txt文件中指定的zlib路径不正确或zlib未正确安装。 -
第二个错误是关于SSL的。它指出没有找到适当的openssl开发包。这可能是因为在CMakeLists.txt文件中指定的SSL选项不正确或openssl未正确安装。
-
求大神讲解