MySQL主从同步、读写分离配置步骤、问题解决(8)
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:
相关新闻>>
- 发表评论
-
- 最新评论 更多>>