Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux support #1

Closed
gileri opened this issue Jan 1, 2016 · 2 comments
Closed

Linux support #1

gileri opened this issue Jan 1, 2016 · 2 comments

Comments

@gileri
Copy link

gileri commented Jan 1, 2016

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
Copy link
Owner

severak commented Jan 1, 2016

  1. run lua and then print(package.path)
  2. copy files from lunarender/lib/lua to path reported by previous step
  3. install LuaExpat
  4. try again rendering

unfortunately not having linux box at home to trying it by myself

@gileri gileri changed the title Linux support ? Linux support Jan 1, 2016
@gileri
Copy link
Author

gileri commented Jan 2, 2016

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.

@gileri gileri closed this as completed Jan 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants