Am 23.12.2014 um 06:38 schröbte Vadim Peretokin:
> Hi,
>

Hi!

>
> The Lua mailing lists suggests that it is a compilation issue - the binary
> for 5.1 needs to be recompiled for 5.2 - but luarocks downloads the source
> and compiles that, so this shouldn't be the case. "luarocks" also reports
> it is configured for Lua 5.2.
>
> What could be wrong?

It's not just recompiling, the source code needs to be adapted to newer 
Lua versions too, and the code in the moonrocks repository (version 
`101012-1`) is for Lua 5.1 only (although the rockspec says otherwise, 
but it is a common problem that rockspec authors claim compatibility 
with yet unreleased Lua versions).

As a short term solution you can download the luaxml rockspec[1] from 
the moonrocks repository, change all occurrences of `101012` to `130610` 
(in file contents *and* file name), and run `luarocks install 
luaxml-20130610-1.rockspec` from the directory where you saved the 
modified rockspec file to. Depending on your LuaRocks installation you 
might need `sudo`.

A long term solution would be to ask the rockspec maintainer for a new 
rockspec release. You can find his/her email address in the rockspec.

HTH,
Philipp


   [1]: 
https://rocks.moonscript.org/manifests/luarocks/luaxml-101012-1.rockspec




------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to