lua-users home
lua-l archive

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

On Monday, January 26, 2015, Paul K <> wrote:
Hi Andrew,

> They've included Lua bindings and some test applications. Lua 5.1 is
> installed by default. I've installed Lua 5.3 and it works great. I'm
> working on setting up remote debugging with ZBS, but the version
> of luasocket installed by luarocks is not happy with 5.3, so I have more
> fiddling to do there.

I compiled luasocket with Lua 5.3 using the latest 3.0-rc1 version by adding -DLUA_COMPAT_APIINTCASTS to the build flags.


That worked for me too, but I'd rather that luarocks worked with 5.3, without tricks. 

I submitted a patch, which was faulty. The issue was closed, but I think it should be reopened.

Inasmuch as any of us feels a sense of responsibility for/pride in people's first experiences with Lua, making sure that basic libraries work with the current release is a great way to make a good impression. 

As it is, luarocks installs a broken socket library when Lua 5.3 is installed with the default flags. :(