Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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
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 14:45 Go to previous message
Kevin KIN-FOO is currently offline Kevin KIN-FOOFriend
Messages: 58
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: Fri Apr 19 00:54:00 GMT 2024

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

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

Back to the top