[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] LuaRocks 2.1.1
- From: Hisham <h@...>
- Date: Fri, 1 Nov 2013 13:50:05 -0200
On 1 November 2013 13:16, Xavier Wang <firstname.lastname@example.org> wrote:
> I'm tring to use luarocks with lua-5.2.2 that is compiled myself on Windows.
> but it runs errors for 'module()' function, that is not available in my
> lua5.2 install, Is luarocks lua5.2 compatible without LUA_COMPAT_ALL flags?
> how to make it works for my configure?
On Lua 5.2 it requires LUA_COMPAT_ALL (like many of the rocks in the
repository do, so you're better off by enabling LUA_COMPAT_ALL
> I install my lua at D:/Lua52, there are several files/directories:
> So, I want luarocks install *.lua into D:/Lua52/lua, and install *.dll into
> D:/Lua52/clibs, just like Lua For Window does. but I can only specific TREE
> in install.bat. is that anyway to do that?
You can configure paths extensively in the configuration files after
installation. See the documentation at
http://luarocks.org/en/Config_file_format for details.