_dinsdale

Luarocks 3.0.4 not working: FreeBSD 11

Nov 8th, 2018
224
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. russellh@g1 ~/P/lr-test> sudo luarocks-5.3 install luasec
  2. Warning: falling back to curl - install luasec to get native HTTPS support
  3. 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')
  4. Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luasec-0.7-1.src.rock
  5.  
  6. 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')
  7. russellh@g1 ~/P/lr-test> unzip
  8. Usage: unzip [-aCcfjLlnopqtuvyZ1] [-d dir] [-x pattern] zipfile
  9. russellh@g1 ~/P/lr-test> unzip -n
  10. Usage: unzip [-aCcfjLlnopqtuvyZ1] [-d dir] [-x pattern] zipfile
  11. russellh@g1 ~/P/lr-test> cat /usr/local/etc/luarocks/config-5.3.lua
  12. -- LuaRocks configuration
  13.  
  14. rocks_trees = {
  15. { name = "user", root = home .. "/.luarocks" };
  16. { name = "system", root = "/usr/local" };
  17. }
  18. lua_interpreter = "lua53";
  19. variables = {
  20. LUA_DIR = "/usr/local";
  21. LUA_INCDIR = "/usr/local/include/lua53";
  22. LUA_BINDIR = "/usr/local/bin";
  23. -- UNZIP = "/usr/bin/unzip";
  24. }
  25.  
  26. ## Edited config-5.3.lua
  27.  
  28. russellh@g1 ~/P/lr-test> sudo luarocks-5.3 install luasec
  29. Warning: falling back to curl - install luasec to get native HTTPS support
  30. 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')
  31. Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luasec-0.7-1.src.rock
  32.  
  33. 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')
  34. russellh@g1 ~/P/lr-test> /usr/bin/unzip
  35. Usage: unzip [-aCcfjLlnopqtuvyZ1] [-d dir] [-x pattern] zipfile
  36. russellh@g1 ~/P/lr-test> cat /usr/local/etc/luarocks/config-5.3.lua
  37. -- LuaRocks configuration
  38.  
  39. rocks_trees = {
  40. { name = "user", root = home .. "/.luarocks" };
  41. { name = "system", root = "/usr/local" };
  42. }
  43. lua_interpreter = "lua53";
  44. variables = {
  45. LUA_DIR = "/usr/local";
  46. LUA_INCDIR = "/usr/local/include/lua53";
  47. LUA_BINDIR = "/usr/local/bin";
  48. UNZIP = "/usr/bin/unzip";
  49. }
RAW Paste Data