Wrong lua version after upgrade

Moderator: leecollings

Post Reply
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Wrong lua version after upgrade

Post by McMelloW »

After install lua 5.3.4 lua-v still shows: Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio

lua is installed faccording these line

Code: Select all

sudo curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz
sudo tar zxf lua-5.3.4.tar.gz
cd lua-5.3.4
sudo make linux test
How can I tell the system lua is at 5.3.4?
Greetings McMelloW
SweetPants

Re: Wrong lua version after upgrade

Post by SweetPants »

Have you tried sudo make install or sudo make linux install?
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: Wrong lua version after upgrade

Post by McMelloW »

SweetPants wrote: Wednesday 10 January 2018 18:01 Have you tried sudo make install or sudo make linux install?
sudo make linux install
Greetings McMelloW
User avatar
Siewert308SW
Posts: 290
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Wrong lua version after upgrade

Post by Siewert308SW »

That doesn't work as far as i know.
Lua is integrated in Domoticz it self and installing/compiling it your self doesn't work.
The only way to get it updated is to build Domoticz from source with the updated LUA source.
Been there 2 years ago but as we speak i'm running and testing LUA 5.3.4
Compiled it into Domoticz this afternoon and runs fine sofar.

I know Gizmocuz tried to update LUA somewhere February 2016.
But something wasn't right and he reverted back to 5.2.
For now i run 5.3.4 and if i don't encounter any issue i can try to make a pull request and get in the latest beta.
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest