Bison executable not found in PATH by mysql install_MySQL

WBOY
发布: 2016-06-01 13:06:25
原创
1045 人浏览过

[root@luozhonghua mysql-5.5.21]# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql  -DMYSQL_DATADIR=/data/mysql  -DSYSCONFDIR=/etc

-- Check size of pthread_t

-- Check size of pthread_t - done

-- Performing Test HAVE_PEERCRED

-- Performing Test HAVE_PEERCRED - Success

Warning: Bison executable not found in PATH

-- Configuring done

-- Generating done

-- Build files have been written to: /usr/local/src/mysql-5.5.21

解决办法:

[root@luozhonghua mysql]# yum install bison

安装完后,再次执行:

[root@luozhonghua mysql-5.5.21]# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql  -DMYSQL_DATADIR=/data/mysql  -DSYSCONFDIR=/etc

-- MySQL 5.5.21

-- Configuring done

-- Generating done

-- Build files have been written to: /usr/local/src/mysql-5.5.21

成功通过!记住是mysql-5.5.21版本,别的版本会有差异。

来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板