码迷,mamicode.com
首页 > 数据库 > 详细

Bison executable not found in PATH by mysql install

时间:2014-07-18 23:04:23      阅读:287      评论:0      收藏:0      [点我收藏+]

标签:mysql   shell   

[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版本,别的版本会有差异。

Bison executable not found in PATH by mysql install,布布扣,bubuko.com

Bison executable not found in PATH by mysql install

标签:mysql   shell   

原文地址:http://blog.csdn.net/luozhonghua2014/article/details/37885899

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!