Am 19.06.2013 11:48 schröbte Alexey Melnichuk:
> Hisham <h <at> hisham.hm> writes:
>>
>> On 17 June 2013 08:33, Alexey Melnichuk <mimir@...> wrote:
>>> 1. lbase64
>>
>> I've been using release dates as versions for all lhf modules, so I
>> renamed them to 20120820-1 and 20120807-1, respectively.
>>
> I just try `luarocks install lbase64` with lua 5.2 and luarocks try install
> `lbase64-20120820-1.src.rock` and fail.

luarocks currently only tries the latest rockspec [1], which in this 
case is for Lua 5.1 only, so it fails for Lua 5.2.

   [1]: http://permalink.gmane.org/gmane.comp.lang.lua.luarocks/4145

As a workaround, you probably could specify a suitable version on the 
commandline for Lua 5.2.

The preferred way to handle this would be to create a single rockspec 
that works for both Lua versions. You could try to compile the lbase64 
code for Lua 5.1 with LUA_COMPAT_MODULE defined (see here[2]) ...

   [2]: http://permalink.gmane.org/gmane.comp.lang.lua.luarocks/4253

Philipp



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to