Page 1 of 1

Cannot compile on RPi 3 B+, missing LUA files

Posted: Saturday 28 November 2020 3:01
by mhfrey
I am trying to compile Domoticz from source on my RPi 3 B+, operating system Buster, all patches applied. Domoticz sources up to date with git pull. I also tried a new git clone and get the same error.

I get the error listed below. Any help in correcting this problem would be appreciated.

:~/domoticz $ cmake -DCMAKE_BUILD_TYPE=Release .
-- Submodule update
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) (Required is at
least version "5.3")
Call Stack (most recent call first):
/usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.19/Modules/FindLua.cmake:232 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:406 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/pi/domoticz/CMakeFiles/CMakeOutput.log".
See also "/home/pi/domoticz/CMakeFiles/CMakeError.log".

Re: Cannot compile on RPi 3 B+, missing LUA files

Posted: Saturday 28 November 2020 3:40
by mhfrey