MySQL 5.6 with CMake compilation

Source: Internet
Author: User
Tags bool mysql readline

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.