Error summary during mysql-5.5.28 source code Installation

Source: Internet
Author: User

Introduction About mysql-5.5.28 source code installation process in a few major errors summary, I hope this article to help you.
CentOS 6.3 mini (no compiling environment)
The pre-compiled environment first installs the well-known cmake (yum install cmake-y)
Copy codeThe Code is as follows:
,./Bootstrap Error when bootstrapping CMake: Cannot find appropriate C compiler on this system. Please specify one using environment variable CC. See cmake_bootstrap.log for compilers attempted.

Okay, I am still not fully prepared. If I find that the c Compilation Program is not installed, that is, GCC, then install it (yum install gcc-y)
Copy codeThe Code is as follows:
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.


Well, this is a new personal error. I searched for the information and finally understood that there was another c ++ Compilation Program not installed, all right (yum install gcc-c ++-y.txt, then you will find that the cmakecache.txt file has been generated. No way, delete (rm-rf CMakeCache.txt) to continue compilation!
Copy codeThe Code is as follows:
CMake Error at cmake/readline. cmake: 82 (MESSAGE ):
Curses library not found. Please install appropriate package,
Remove CMakeCache.txt and rerun cmake. On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.


Decisive and failed, do not know where the problem, guess what package is not installed, and finally understand On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel. in these two statements, OK installs the ncurses-devel package (yum install ncurses-devel-y)
Warning: Bison executable not found in PATH
After successful configuration, a warning is displayed, indicating that the Bison is missing. The yum install bison-y installation solution is simple! Then make; make install! Fortunately, it was successfully completed!

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.