Lua Setup error

lua, ubuntu-12.04

Solution

Looks like you're missing the `ncurses` library. Make sure you've got all dependencies installed, e.g. by using `sudo apt-get install libncurses-dev` (might depend on your system/version).

Problem

Hi I ve downloaded lua extracted it and tried to make it ``` sg1@kalanamith:~/lua-5.2.1$ make linux test ``` after that um getting this error ``` ar rcu liblua.a lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o loadlib.o linit.o ranlib liblua.a gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c -o lua.o lua.c gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lncurses /usr/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status make[2]: *** [lua] Error 1 make[2]: Leaving directory `/home/sg1/lua-5.2.1/src' make[1]: *** [linux] Error 2 make[1]: Leaving directory `/home/sg1/lua-5.2.1/src' make: *** [linux] Error 2 ``` This is my first day with Lua so Ill be great full if any one can give me a help. thank you in advance

Original source