mysql-5.5.28 Source code installation process error Summary _mysql

Source: Internet
Author: User

Introduction about the mysql-5.5.28 source code installation process in several major error summary, I hope this article to help you students.
System CentOS 6.3 Mini (without any compilation environment)
The precompiled environment first installed the well-known cmake (yum install cmake-y)

Copy Code code as follows:

,./bootstrap Error when bootstrapping cmake:cannot find appropriate C compiler on this system. Please specify one using environment variable CC. Cmake_bootstrap.log for compilers attempted.

Well, still not fully prepared, found that C compiler is not installed, that is, GCC, then put on (yum install gcc-y)
Copy Code code as follows:

CMake error:your CXX Compiler: "Cmake_cxx_compiler-notfound" is not found.


Well, this is a personal newly met mistake, looking for information everywhere, finally understand that there is a C + + compiler program is not installed, OK (yum install gcc-c++-y), and then found that CMakeCache.txt file has been generated. No way, delete (Rm-rf CMakeCache.txt) continue to compile!
Copy Code code 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 are Libncurses5-dev, on Redhat and derivates it is ncurses-devel.


Decisive and Meng, do not know where the problem, guess what bag is not installed it, and finally read on Debian/ubuntu, package the name is Libncurses5-dev, on Redhat and derivates it is ncurses-d Evel. These two sentences, OK installed ncurses-devel this bag (yum install ncurses-devel-y)
Warning:bison executable not found in PATH
Finally successful configuration succeeded, prompted a warning, can not let go, a check is missing bison, simple (yum install bison-y) installation solution! Then Make;make Install! Luckily, it's done!

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.