在cmake mysql中,配置完以下参数后,执行cmake,报错了。cmake .
-DCMAKE_INSTALL_PREFIX=/opt/mysql/
-DEXTRA_CHARSETS=all
-DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci
-DWITH_INNOBASE_STORAGE_ENGINE=1
-DWITH_PARTITION_STORAGE_ENGINE=1
-DWITH_MYISAMMRG_STORAGE_ENGINE=1
-DWITH_SSL=system
-DWITH_EMBEDDED_SERVER=1
-DWITH_READLINE=1
-DENABLED_LOCAL_INFILE=1
-DMYSQL_DATADIR=/src/mysql/data/
-DMYSQL_USER=mysql -DMYSQL_TCP_PORT=3306
错误信息如下:CMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:178 (message):
No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS() Call Stack (most recent call first):
/usr/local/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/zlib.cmake:54 (INCLUDE)
CMakeLists.txt:209 (MYSQL_CHECK_ZLIB_WITH_COMPRESS)
这错误是缺少了什么包吗?求大神指点