MySQL主从同步、读写分离配置步骤、问题解决(8)

来源:未知 责任编辑:责任编辑 发表时间:2013-12-18 11:36 点击:

luaconf.h:275:31: error: readline/readline.h: No such file or directory

luaconf.h:276:30: error: readline/history.h: No such file or directory

lua.c: In function 鈥榩ushline鈥?

lua.c:182: warning: implicit declaration of function 鈥榬eadline鈥?

                                                                    lua.c:182: warning: assignment makes pointer from integer without a cast

lua.c: In function 鈥榣oadline鈥?

lua.c:210: warning: implicit declaration of function 鈥榓dd_history鈥?

                                                                       make[2]: *** [lua.o] Error 1

make[2]: Leaving directory `/software/lua-5.1.4/src'

make[1]: *** [linux] Error 2

make[1]: Leaving directory `/software/lua-5.1.4/src'

make: *** [linux] Error 2

 

解决方法:yum install libtermcap-devel

          yum install ncurses-devel                                 

          yum install libevent-devel                                   

          yum install readline-devel

  

2、安装MySQL-proxy时报错:

checking for LUA... configure: error: Package requirements (lua5.1 >= 5.1) were not met:

 

No package 'lua5.1' found

 

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

 

Alternatively, you may set the environment variables LUA_CFLAGS

and LUA_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

解决办法:

cp etc/lua.pc /usr/local/lib/pkgconfig/lua5.1.pc

 

3、安装MySQL-proxy时报错:

checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.16.0) were not met:

发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码:点击我更换图片
最新评论 更多>>

推荐热点

  • mysql-mmm
  • mysqldump命令——MySQL数据库备份还原
  • Oracle数据导入MySQL的快捷工具:MySQL Migration Toolkit
  • 简简单单储存过程——循环一个select结果集
  • MySQL数据库十大优化技巧
  • Mysql安装笔记
  • Mysql主主复制架构配置
  • Mysql的Procedure 参数为NULL问题分析
  • MySQL Stmt预处理提高效率问题的小研究
网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
Copyright © 2008-2015 计算机技术学习交流网. 版权所有

豫ICP备11007008号-1