lua安装不成功

tar-zxvf lua-5.2.0.tar.gz
cd lua-5.2.0
make linux
make install
完成安装.

如果遇到

lua.c:67:31: fatal error: readline/readline.h: No such file or directory
说明缺少libreadline-dev依赖包

centos: yum install readline-devel
debian: apt-get install libreadline-dev.

你可能感兴趣的:(lua安装不成功)