Archlinux
https://github.com/aidanholm/luakit
luajit: build-utils/docgen/gen.lua:1: module 'lfs' not found:
no field package.preload['lfs']
no file './lfs.lua'
no file '/usr/share/luajit-2.0.5/lfs.lua'
no file '/usr/local/share/lua/5.1/lfs.lua'
no file '/usr/local/share/lua/5.1/lfs/init.lua'
no file '/usr/share/lua/5.1/lfs.lua'
no file '/usr/share/lua/5.1/lfs/init.lua'
no file 'build-utils/lfs.lua'
no file './lfs.so'
no file '/usr/local/lib/lua/5.1/lfs.so'
no file '/usr/lib/lua/5.1/lfs.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
build-utils/docgen/gen.lua:1: in main chunk
[C]: in function 'require'
./build-utils/docgen/makedoc.lua:9: in main chunk
[C]: at 0x00404680
make: *** [Makefile:79: doc/apidocs/index.html] Error 1
Пробовал создать символьную ссылку в lua/5.1, запускать make с
LUA_PATH=/usr/lib64/lua/5.3/lfs.so
С LUA_PATH
luajit: error loading module 'docgen.parse' from file '/usr/lib64/lua/5.x/lfs.so':
/usr/lib64/lua/5.3/lfs.so:1: unexpected symbol near 'char(127)'
stack traceback:
[C]: at 0x00452b90
[C]: in function 'require'
./build-utils/docgen/makedoc.lua:8: in main chunk
[C]: at 0x00404680
make: *** [Makefile:79: doc/apidocs/index.html] Error 1
Как победить?