lua-users home
lua-l archive

Re: My Lua Rant: Installing LuaDoc

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Oct 5, 2010 at 1:19 AM, Mike McGonagle <mjmogo@gmail.com> wrote:
> I just wish that there were some simple methods to install these
> things that were PORTABLE.
LuaRocks is a good solution to the dependencies problem - it works
fine on a G5. Fairly straightforward to install (just make sure it
knows where the Lua headers are) and then it's just:
$ sudo luarocks install luadoc
steve d.
PS. LuaRocks was probably considered a bit odd at first because it
required a custom version of require() which would hunt down the
various installed modules. But since 2.0, it has integrated pretty
much seamlessly with the 'canonical' way of doing things; it's now
part of Lua for Windows and is available in the Debian/Ubuntu repos.
Portability is an ideal, especially with something that works on all
the major platforms, and there are sometimes problems that come from
makefiles which are insufficiently general.

AltStyle によって変換されたページ (->オリジナル) /