linux下源码安装mysql

来源:互联网 发布:北京信息科技大学网络 编辑:程序博客网 时间:2024/05/21 11:34

Mysql 使用cmake安装,yum install cmake。


问题:1. You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>

依赖boost,解决方法:

1cmake .  -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost

2)如果下载不了,可通过wget http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz或自己下载放到/usr/local/boost/目录下,cmake会自己解压。


问题2.  Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)

依赖curse,解决方法:

yum install ncurses-devel

rm CMakeCache.txt

cmake . -DWITH_BOOST=/usr/local/boost


PS:mysql测试用例位于testclients目录下。

0 0
原创粉丝点击