[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luadoc installation: enough reading, need revelation
- From: Duboucher Thomas <thomas@...>
- Date: Thu, 06 May 2010 22:22:23 +0200
I tried to work on a LuaRocks package for Fedora 12 and ran into
several difficulties, namely some difficulties to have both Rocks and
RPMs installed at the same time.
However, LuaDoc is available as an RPM (for Fedora, not sure for
CentOS) and works well, though it is a little bit old if I remember
correctly.
Thomas.
Le 06/05/2010 21:55, Mark Szpakowski a écrit :
> I am trying to install Luadoc (on a CentOS system). Several hours later...
> this is obscure and baffling.
>
> At http://luadoc.luaforge.net/manual.html#installation it says:
> "LuaDoc also depends on two external packages:
> LuaFileSystem<http://www.keplerproject.org/luafilesystem>and
> LuaLogging <http://www.keplerproject.org/lualogging>, and you'll need to
> install them accordingly."
>
> Those in turn require LuaRocks. I have installed all three.
>
> It says: 'The library follows the package
> model<http://www.keplerproject.org/compat/>for Lua 5.1, therefore it
> should be "installed".' It's not clear what
> "installed" (in quotes) means. It says "Refer to Compat-5.1
> configuration<http://www.keplerproject.org/compat/manual.html#configuration>section
> about how to install it properly." I'm running Lua 5.1, so do I need
> to install Compat-5.1?
>
> It says "The launcher script, namely luadoc.lua for Unix and luadoc.bat for
> Windows, should be installed in your system PATH, so that it can be
> executed. " and "On Unix boxes, the file luadoc.lua could be used as a
> script;". There is no file luadoc.lua. There is a file, in the src
> directory, called luadoc.lua.in, which seems to be the launcher script.
>
> Then I did a "luarocks search luadoc", followed by "luarocks install
> luadoc", which did seem to do something. Eventually I found in my user
> directory the hidden directory, ~/.luarocks/bin, and there an executable
> shell script called luadoc. Going in there and doing ./luadoc --version
> finally returns some success. I suppose I could put that in my PATH... but
> is this really the way to install Luadoc? Or the Lua way?
>
> Any suggestions or revelations welcome,
> Cheers,
> Mark
>