#1707 plugin installer wants Lua header files

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Component-PluginInstaller
  • Priority-Medium
  • Milestone-0.12
  • Status-Fixed
  • Upstream
  • Type-Defect
  • LuaRocks
  1. Zash on

    # 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)

  2. Zash on

    And Lua header files and other compiler stuff should not need to be installed on a server

  3. Zash on

    luarocks version 3.7.0

  4. 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.

  5. Zash on

    Upstream issue: https://github.com/luarocks/luarocks/issues/1275

  6. Trash on

    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.

  7. Zash on

    https://github.com/luarocks/luarocks/pull/1598

  8. Zash on

    Let's keep this open until there's a release.

    Changes
    • tags Status-Started
  9. Zash on

    The fix is now released https://github.com/luarocks/luarocks/releases/tag/v3.10.0

    Changes
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.