Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Koneki » LuaDocumentor help please
LuaDocumentor help please [message #1231872] Wed, 15 January 2014 10:59 Go to next message
Dan Jackson is currently offline Dan Jackson
Messages: 6
Registered: October 2013
Junior Member
Hello.
I am trying to create our own execution environment and am having a devil of a time with LuaDocumentor. I've never used it before and tried to follow the directions at http://wiki.eclipse.org/Koneki/LDT/User_Area/LuaDocumentor for setting it up to be used.

The error:

lua luadocumentor.lua --help
lua: luadocumentor.lua:25: module 'metalua.package' not found:
no field package.preload['metalua.package']
no file './metalua/package.lua'
no file './metalua/package.luac'
no file '/usr/local/lib/lua/5.2/metalua/package.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './metalua/package.so'
no file '/usr/local/lib/lua/5.2/metalua.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './metalua.so'
stack traceback:
[C]: in function 'require'
luadocumentor.lua:25: in main chunk
[C]: in ?

I clearly have something wrong since I have no .so files around. The download from the webpage gave a link to a zip file with no .so files. How should I have gotten these .so files? Do I need to download them separately? If so, where from? I'm developing on Linux. Are there other dependencies that I need to download/build/install that are not called out on the LuaDocumentor webpage?

Thanks for the help!
Dan
Re: LuaDocumentor help please [message #1233812 is a reply to message #1231872] Mon, 20 January 2014 09:45 Go to previous message
Kevin KIN-FOO is currently offline Kevin KIN-FOO
Messages: 48
Registered: January 2010
Member
Hi Dan,

I just try to run luadocumentor 0.1.3 myself.
I used Lua 5.2 which you seam to use.

Well, I had a different error, showing that luadocumentor is not Lua 5.2 ready as I am writing. I will update its documentation.

About your error, it basically means that luadocumentor is not able to find Metalua in your $LUA_PATH. But Metalua is shipped in the archive. So, I am wondering how are trying to run luadocumentor:
* From extracted archive provided on the wiki[1]
* From source cloned from LDT git repository
* ...

Tell me more.
Kevin

[1] http://wiki.eclipse.org/Koneki/LDT/User_Area/LuaDocumentor
Previous Topic:How to set remote system for remote debug
Next Topic:Lua Modules
Goto Forum:
  


Current Time: Thu Aug 21 00:44:27 EDT 2014

Powered by FUDForum. Page generated in 0.02390 seconds