error when compile lua 5.3.3
i try to compile lua 5.3.3 using slackbuild with changed version and have this error:
Code:
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 lutf8lib.o loadlib.o linit.o how to fix it? |
libreadline is failing to find certain functions from other libraries. tgoto and several others come from termcap. tputs is from ncurses. You should have both of these but maybe not in the right place.
|
Just pass "-ncurses" in LDFLAGS. For completeness, this is the core of my slackbuild:
Code:
sed -i "s|/usr/local|/usr|" src/luaconf.h |
Quote:
|
All times are GMT -5. The time now is 02:57 AM. |