Solve cocould not find curses (missing: curses_library curses_include_path)
Source: Internet
Author: User
Select source code and then
Generic Linux (Architecture independent), compressed tar archive,Then you need to register something and the tar package can be downloaded. Step 1: Decompress the MySQL source code CD/usr/local Tar xf mysql-5.5.24.tar.gzResult: The Directory mysql-5.5.24 is generated in/usr/local. Ln-S/usr/local/mysql-5.5.24 MySQL
CD MySQLStep 2: Compile MySQL to check the current directory .View dependency Cmake-graphviz.The libcurse library is missing, and it is recommended that you install the libncurses5-dev package Apt-Get install libncurses5-dev
Depend! The system prompts that the installation is complete. What should I do?
Find/usr-name libncurses *
Find the Directory and use the-D parameter to define the macro to specify the directory where the header file and library are located.
Cmake.-dcurses_library =/usr/lib/libncurses. So-dcurses_include_path =/usr/include
Sure enough, makefile is generated! Step 3: Perform Compilation Make install
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.