mysql5.6 more than the version of CMake compiled, and the previous 5.5 with the./configure compilation is different, for the new compilation method, you can view the CMake help parameters, select the appropriate parameters
Shell>cmake. -lh
--MySQL 5.6.3-M6
--Could not find Curses (missing:curses_library curses_include_path)
CMake Error at cmake/readline.cmake:83 (message):
Curses Library not found. Please install appropriate package,
Remove CMakeCache.txt and rerun CMake. On Debian/ubuntu, package name are Libncurses5-dev, on Redhat and derivates it is ncurses-devel.
Call Stack (most recent call i):
cmake/readline.cmake:127 (find_curses)
cmake/readline.cmake:217 (Mysql_use_bundled_libedit)
cmakelists.txt:259 (Mysql_check_readline)
--Configuring incomplete, Errors occurred!
--Cache values
Choose the type of build, Options Are:none (Cmake_cxx_flags or
Cmake_c_flags used) Debug release Relwithdebinfo Minsizerel
Cmake_build_type:string=relwithdebinfo
Install prefix
Cmake_install_prefix:path=/usr/local/mysql
Set to True if it's a community build
Community_build:bool=on
Enable Profiling
Enabled_profiling:bool=on
Enable Debug Sync (debug builds only)
Enable_debug_sync:bool=on
Enable Gcov (Debug, Linux builds only)
Enable_gcov:bool=off
installation directory layout. Options Are:standalone (as in zip or tar.gz installer), RPM, DEB, SVR4
Install_layout:string=standalone
Default MySQL Data Directory
Mysql_datadir:path=/usr/local/mysql/data
MySQL maintainer-specific Development environment
Mysql_maintainer_mode:bool=off
Support tracing of Optimizer
Optimizer_trace:bool=on
Use Dbug/safemutex
With_debug:bool=off
Options Are:none, complex, all