Hi All,
I have been working on updating lua from 5.3.5 to 5.4.3
I updated the autotoolize.patch and the shared_library-1.patch and found that 5.4.3 no longer has lbitlib.c in the tarball src directory
I removed lbitlib.c from the liblua_la_SOURCES section in the diff for lua-5.3.5/src/Makefile.am
----------------------------------------------------------- +AM_CFLAGS = -Wall + +include_HEADERS = lua.h lualib.h lauxlib.h lua.hpp + +nodist_include_HEADERS = luaconf.h + +lib_LTLIBRARIES = liblua.la +liblua_la_LDFLAGS = -release @MAJOR_VERSION@ +liblua_la_SOURCES = \ + lapi.c lauxlib.c lbaselib.c lbitlib.c lcode.c lcorolib.c lctype.c ldblib.c \ + ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c liolib.c llex.c lmathlib.c lmem.c \ + loadlib.c lobject.c lopcodes.c loslib.c lparser.c lstate.c lstring.c lstrlib.c \ + ltable.c ltablib.c ltm.c lundump.c lutf8lib.c lvm.c lzio.c \ + lapi.h lcode.h lctype.h ldebug.h ldo.h lfunc.h lgc.h llex.h llimits.h \ + lmem.h lobject.h lopcodes.h lparser.h lstate.h lstring.h ltable.h ltm.h \ + lundump.h lvm.h lzio.h +
-----------------------------------------------------------
and then lua built without any problems.
So lua built successfully but looking at the files in the tarball src directory for 5.3.5 & 5.4.3 there are some differences
The following files lua.c luac.c lua.h luaconf.h lualib.h lauxlib.h lprefix.h
are in both 5.3.5 & 5.4.3 but not in the liblua_la_SOURCES section. This may be deliberate, I can't tell.
However lbitlib.c is in 5.3.5 & liblua_la_SOURCES but not in 5.4.3 Is that a problem for IPFire's use of lua?
ljumptab.h and lopnames.h are not in 5.3.5 or liblua_la_SOURCES but are in 5.4.3 Should these now be included somewhere in the Makefile.am or elsewhere or is it OK to ignore them for IPFire?
Regards,
Adolf.