Did I really post above (in post #1) that lua-filesystem was working?
PHP Code:
> lfs = require'lfs'
error loading module 'lfs' from file '/mnt/us/esys/usr/lib/lua5.1/lfs.so':
/mnt/us/esys/usr/lib/lua5.1/lfs.so: undefined symbol: luaL_setfuncs
stack traceback:
[C]: ?
[C]: in function 'require'
stdin:1: in main chunk
[C]: ?
> os.exit()
core2quad lua-5.3.2 $ grep -r 'luaL_setf' *
src/lauxlib.h:LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
src/lauxlib.h:#define luaL_newlib(L,l) \
src/lauxlib.h: (luaL_checkversion(L), luaL_newlibtable(L,l), luaL_setfuncs(L,l,0))
src/lauxlib.c:LUALIB_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
core2quad lua-5.2.4 $ grep -r 'luaL_setf' *
src/lauxlib.h:LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
src/lauxlib.h:#define luaL_newlib(L,l) (luaL_newlibtable(L,l), luaL_setfuncs(L,l,0))
src/lauxlib.c:LUALIB_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) {
# and for here, there be dragons:
core2quad lua-5.1.5 $ grep -r 'luaL_setf' *
core2quad lua-5.1.5 $ grep -r 'luaL_newlib' *
? ? ?
I can't find anything in the lua-filesystem public repository about supporting lua-5.1.x
(Which is crazy, lfs has been around longer than 5.1.0, even though the public repo. doesn't show it. I just need a really old, lfs build. Its the public repo. that is too new.)
I had to have been looking at a terminal open into my PC rather than into my test Kindle when I checked it before.
Because there is just no way it can work without the code written into the sources.
There are also a lot of hits in doc/manual for those queries, so I guess it is time somebody (me or at Debian) to RTFM.