Linux support
gileri opened this issue · 2 comments
gileri commented
I don't have much exeperience on lua, but I can't manage to launch lunarender on linux ('%' and before is my bash prompt):
% lua bin/lunarender.lua
lua: bin/lunarender.lua:5: module 'lunarender.reader' not found
% PATH=.:./bin:./lib:./lib/lua:$PATH lua bin/lunarender.lua
lua: bin/lunarender.lua:5: module 'lunarender.reader' not found
lunarender/lib/lua% lua ../../bin/lunarender.lua
lua: ./lunarender/reader.lua:5: module 'lxp' not found
severak commented
- run lua and then
print(package.path) - copy files from
lunarender/lib/luato path reported by previous step - install LuaExpat
- try again rendering
unfortunately not having linux box at home to trying it by myself
gileri commented
Thanks to your advice, it's working now !
I thought it was packaged because of the lib/lua/lxp/lom.lua file, but indeed it was missing.