Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » LuaDocumentor help please
LuaDocumentor help please [message #1231872] Wed, 15 January 2014 15:59 Go to next message
Dan Jackson is currently offline Dan JacksonFriend
Messages: 12
Registered: October 2013
Junior Member
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 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/'
no file '/usr/local/lib/lua/5.2/'
no file './metalua/'
no file '/usr/local/lib/lua/5.2/'
no file '/usr/local/lib/lua/5.2/'
no file './'
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!
Re: LuaDocumentor help please [message #1233812 is a reply to message #1231872] Mon, 20 January 2014 14:45 Go to previous message
Kevin KIN-FOO is currently offline Kevin KIN-FOOFriend
Messages: 58
Registered: January 2010
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.

Previous Topic:How to set remote system for remote debug
Next Topic:Lua Modules
Goto Forum:

Current Time: Tue Oct 04 21:22:21 GMT 2022

Powered by FUDForum. Page generated in 0.02295 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top