# prosodyctl install mod_rest
Installing mod_rest in /var/lib/prosody/custom_plugins
Installing https://modules.prosody.im/rocks/mod_rest-182-1.src.rock
Error: Failed finding Lua header files. You may need to install them or configure LUA_INCDIR.
---
Lua header files should not be needed to install pure Lua libraries like most modules.
Prosody trunk nightly build 1581 (2021-12-27, 0d8e6646ce42)
Zash
on
And Lua header files and other compiler stuff should not need to be installed on a server
Zash
on
luarocks version 3.7.0
Zash
on
luarocks package of unclear origin...
Seems to have been "fixed" by having a hard dependency on liblua-dev, but it still seems unnecessary for installing pure Lua rocks.
for anyone going crazy over this error (like me).
just install the package "liblua5.4-dev"
the error usually means that the /usr/include/lua5.x/ folder is missing.
# prosodyctl install mod_rest Installing mod_rest in /var/lib/prosody/custom_plugins Installing https://modules.prosody.im/rocks/mod_rest-182-1.src.rock Error: Failed finding Lua header files. You may need to install them or configure LUA_INCDIR. --- Lua header files should not be needed to install pure Lua libraries like most modules. Prosody trunk nightly build 1581 (2021-12-27, 0d8e6646ce42)
And Lua header files and other compiler stuff should not need to be installed on a server
luarocks version 3.7.0
luarocks package of unclear origin... Seems to have been "fixed" by having a hard dependency on liblua-dev, but it still seems unnecessary for installing pure Lua rocks.
Upstream issue: https://github.com/luarocks/luarocks/issues/1275
for anyone going crazy over this error (like me). just install the package "liblua5.4-dev" the error usually means that the /usr/include/lua5.x/ folder is missing.
https://github.com/luarocks/luarocks/pull/1598
Let's keep this open until there's a release.
ChangesThe fix is now released https://github.com/luarocks/luarocks/releases/tag/v3.10.0
Changes