install lua
在没有sudo的权限下怎么装lua的….
download tar and unzip
1
2
3
4curl -R -O http:
tar zxf lua-5.3.1.tar.gz
cd lua-5.3.1
make linux testcd lua folder, run
make linux
error: #not found
sol: download readline from:1
2
3
4
5
6curl -R -O http://git.savannah.gnu.org/cgit/readline.git/snapshot/readline-master.tar.gz
rename to realine
tar zxf xxx.tar.gz
cd realine
./configure
./make
1 | add path to src/makefile: |
- make lua again
error: symbol “tputs” and …. undefined.
sol: http://blog.csdn.net/billfeller/article/details/403518911
in `linuxs` change SYSLIBS add -lncurses
done.
also
1 | ldconfig -p | grep libnurses |