阅读297 返回首页    go 阿里云 go 技术社区[云栖]


sysbench RHEL6 安装备忘

sysbench 用于压力测试

相应下载, 文档位置  https://sysbench.sourceforge.net/

但从 2009 年开始已经停止开发


rhel6 下, 正常编译会出现类似下面错误

../libtool: line 841: X--mode=link: command not found


解决 :  编辑 configure.ca:


#AC_PROG_LIBTOOL
AC_PROG_RANLIB


./autogen.sh

./configure --with-mysql  --with-mysql-includes=/usr/local/mysql/include  --with-mysql-libs=/usr/local/mysql/lib/

make && make install 

成功编译

 

## 注意 ##

某些 MySQL 版本中, 需要定义为

./configure --with-mysql  --with-mysql-includes=/usr/local/mysql/include/mysql/  --with-mysql-libs=/usr/local/mysql/lib/mysql/

 

最后更新:2017-04-02 18:30:39

  上一篇:go Ubuntu Install Method
  下一篇:go xcache 安装备忘