mysql 5.5.28 Summary of errors during source code installation

  • 2020-06-03 08:35:33
  • OfStack

Introduce 1 es1EN-5.5.28 source code installation process of several mistakes summary, I hope this article to help you.
System centOS 6.3 mini (without any compilation environment)
The precompiled environment is first loaded with the well-known cmake (yum install ES9en-ES10en)


 , ./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.

Well, I'm still not quite ready, and I find that the c compiler is not installed, which is GCC, so I'm going to install (yum install ES18en-ES19en).

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.

Well, this is a new mistake, looking for information everywhere, finally understand, the original c++ compiler has not installed, ok (yum install ES26en-ES27en ++ -ES28en), then found that has been generated CMakeCache.txt file. There is no way, delete (ES31en-ES32en ES33en. txt) continue to compile!

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 ignorant, do not know what went wrong, guess what package did not pack it, finally understand On Debian/Ubuntu, package name ES44en5-dev, on derivates it ncurses devel. OK contains the package es55EN-ES56en (yum install ES59en-ES60en-ES61en)
Warning: Bison executable not found in PATH
Finally smooth configuration succeeded, prompt 1 warning, can not pass, 1 check is the lack of Bison, simple (yum install ES68en-ES69en) installation solution! Then make; make install! Luckily, it went well!


Related articles: