Page 1 of 1

Upgrade LUA 5.1 ==> 5.3

Posted: Wednesday 17 January 2018 10:55
by emme
Ciao,

on a PI based system is it possibile to upgrade LUA from actual 5.1 to 5.3?

The main reason of this is the posibility to use the UTF8 support now included in LUA...
I'v seen that the upgrade procedure is quite simple: install and symlink the executible as /usr/bin/lua but is this enogh for Domoticz or does it need to be recompiled?

ciao
M

Re: Upgrade LUA 5.1 ==> 5.3

Posted: Wednesday 17 January 2018 11:14
by Siewert308SW
Doesn't work that way.
Domoticz needs to be recompiled, Domoticz uses a compiled Lua version internally.
At the moment we are testing if Lua 5.3 is compatible.
https://github.com/domoticz/domoticz/pull/2061

Re: Upgrade LUA 5.1 ==> 5.3

Posted: Wednesday 17 January 2018 11:14
by emme
thank you!

Re: Upgrade LUA 5.1 ==> 5.3

Posted: Wednesday 17 January 2018 11:16
by Siewert308SW
btw:
Doesn't mean it will be implanted or not.
Two years ago Gizmocuz also tried to update Lua but there where major complications.