russellh@g1 ~/P/lr-test> sudo luarocks-5.3 install luasec
Warning: falling back to curl - install luasec to get native HTTPS support
Warning: Failed searching manifest: Failed extracting manifest file: 'unzip -n' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/usr/local/etc/luarocks/config-5.3.lua')
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luasec-0.7-1.src.rock
Error: Failed unpacking rock file: /tmp/luarocks_luarocks-rock-luasec-0.7-1-9983171/luasec-0.7-1.src.rock: 'unzip -n' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/usr/local/etc/luarocks/config-5.3.lua')
russellh@g1 ~/P/lr-test> unzip
Usage: unzip [-aCcfjLlnopqtuvyZ1] [-d dir] [-x pattern] zipfile
russellh@g1 ~/P/lr-test> unzip -n
Usage: unzip [-aCcfjLlnopqtuvyZ1] [-d dir] [-x pattern] zipfile
russellh@g1 ~/P/lr-test> cat /usr/local/etc/luarocks/config-5.3.lua
-- LuaRocks configuration
rocks_trees = {
{ name = "user", root = home .. "/.luarocks" };
{ name = "system", root = "/usr/local" };
}
lua_interpreter = "lua53";
variables = {
LUA_DIR = "/usr/local";
LUA_INCDIR = "/usr/local/include/lua53";
LUA_BINDIR = "/usr/local/bin";
-- UNZIP = "/usr/bin/unzip";
}
## Edited config-5.3.lua
russellh@g1 ~/P/lr-test> sudo luarocks-5.3 install luasec
Warning: falling back to curl - install luasec to get native HTTPS support
Warning: Failed searching manifest: Failed extracting manifest file: '/usr/bin/unzip' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/usr/local/etc/luarocks/config-5.3.lua')
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luasec-0.7-1.src.rock
Error: Failed unpacking rock file: /tmp/luarocks_luarocks-rock-luasec-0.7-1-570994/luasec-0.7-1.src.rock: '/usr/bin/unzip' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/usr/local/etc/luarocks/config-5.3.lua')
russellh@g1 ~/P/lr-test> /usr/bin/unzip
Usage: unzip [-aCcfjLlnopqtuvyZ1] [-d dir] [-x pattern] zipfile
russellh@g1 ~/P/lr-test> cat /usr/local/etc/luarocks/config-5.3.lua
-- LuaRocks configuration
rocks_trees = {
{ name = "user", root = home .. "/.luarocks" };
{ name = "system", root = "/usr/local" };
}
lua_interpreter = "lua53";
variables = {
LUA_DIR = "/usr/local";
LUA_INCDIR = "/usr/local/include/lua53";
LUA_BINDIR = "/usr/local/bin";
UNZIP = "/usr/bin/unzip";
}
Comments