Mysql is installed using cmake , first yum install cmake.
问题:1. You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>
Depends on boost, the solution:
1)cmake . -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost
2) If you can't download it, you can download it through wget http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz or download it by yourself and put it in the /usr/local/boost/ directory, cmake will decompress itself.
问题2. Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
Depends on curse, the solution:
yum install ncurses-devel
rm CMakeCache.txt
cmake . -DWITH_BOOST=/usr/local/boost
PS: The mysql test case is located in the testclients directory.