Advertisement
_dinsdale

LuaRocks - Errors?

Jul 23rd, 2018
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> sudo ./configure
  2.  
  3. Configuring LuaRocks...
  4.  
  5. Lua version detected: 5.4
  6. Lua interpreter found: /usr/local/bin/lua54
  7. lua.h found: /usr/local/include/lua.h
  8. unzip found in PATH: /usr/bin
  9.  
  10. Done configuring.
  11.  
  12. LuaRocks will be installed at......: /usr/local
  13. LuaRocks will install rocks at.....: /usr/local
  14. LuaRocks configuration directory...: /usr/local/etc/luarocks
  15. Using Lua from.....................: /usr/local
  16.  
  17. * Type make and make install:
  18. to install to /usr/local as usual.
  19. * Type make bootstrap:
  20. to install LuaRocks into /usr/local as a rock.
  21.  
  22. russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> sudo make
  23. rm -f src/luarocks/core/hardcoded.lua
  24. echo "#!/bin/sh" > luarocks
  25. echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4" >> luarocks
  26. echo 'LUAROCKS_SYSCONFDIR="/usr/local/etc/luarocks" LUA_PATH="/src/?.lua;;" exec "/usr/local/bin/lua54" "/src/bin/luarocks" --project-tree="/lua_modules" "$@"' >> luarocks
  27. chmod +rx ./luarocks
  28. ./luarocks init
  29. /usr/local/bin/lua54: cannot open /src/bin/luarocks: No such file or directory
  30. *** Error code 1
  31.  
  32. Stop.
  33. make: stopped in /usr/home/russellh/freebsd/ports/devel/lua-luarocks/work/luarocks-3.0.0
  34. russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> sudo make
  35. rm -f src/luarocks/core/hardcoded.lua
  36. echo "#!/bin/sh" > luarocks-admin
  37. echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4" >> luarocks-admin
  38. echo 'LUAROCKS_SYSCONFDIR="/usr/local/etc/luarocks" LUA_PATH="/src/?.lua;;" exec "/usr/local/bin/lua54" "/src/bin/luarocks-admin" --project-tree="/lua_modules" "$@"' >> luarocks-admin
  39. chmod +rx ./luarocks-admin
  40. russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0>
  41. russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> luarocks
  42.  
  43. LuaRocks 3.0.0, the Lua package manager
  44.  
  45. NAME
  46. /usr/local/bin/luarocks - LuaRocks main command-line interface
  47.  
  48. SYNOPSIS
  49. /usr/local/bin/luarocks [<flags...>] [VAR=VALUE]... <command> [<argument>]
  50.  
  51. GENERAL OPTIONS
  52. These apply to all commands, as appropriate:
  53.  
  54. --dev Enable the sub-repositories in rocks servers
  55. for rockspecs of in-development versions
  56. --server=<server> Fetch rocks/rockspecs from this server
  57. (takes priority over config file)
  58. --only-server=<server> Fetch rocks/rockspecs from this server only
  59. (overrides any entries in the config file)
  60. --only-sources=<url> Restrict downloads to paths matching the
  61. given URL.
  62. --lua-dir=<prefix> Which Lua installation to use.
  63. --tree=<tree> Which tree to operate on.
  64. --local Use the tree in the user's home directory.
  65. To enable it, see '/usr/local/bin/luarocks help path'.
  66. --verbose Display verbose output of commands executed.
  67. --timeout=<seconds> Timeout on network operations, in seconds.
  68. 0 means no timeout (wait forever).
  69. Default is 30.
  70.  
  71. VARIABLES
  72. Variables from the "variables" table of the configuration file
  73. can be overriden with VAR=VALUE assignments.
  74.  
  75. COMMANDS
  76. build
  77. build/compile a rock.
  78. config
  79. Query information about the LuaRocks configuration.
  80. doc
  81. Show documentation for an installed rock.
  82. download
  83. Download a specific rock file from a rocks server.
  84. help
  85. Help on commands. Type '/usr/local/bin/luarocks help <command>' for more.
  86. init
  87. Initialize a directory for a Lua project using LuaRocks.
  88. install
  89. Install a rock.
  90. lint
  91. Check syntax of a rockspec.
  92. list
  93. List currently installed rocks.
  94. make
  95. Compile package in current directory using a rockspec.
  96. new_version
  97. Auto-write a rockspec for a new version of a rock.
  98. pack
  99. Create a rock, packing sources or binaries.
  100. path
  101. Return the currently configured package path.
  102. purge
  103. Remove all installed rocks from a tree.
  104. remove
  105. Uninstall a rock.
  106. search
  107. Query the LuaRocks servers.
  108. show
  109. Show information about an installed rock.
  110. test
  111. Run the test suite in the current directory.
  112. unpack
  113. Unpack the contents of a rock.
  114. upload
  115. Upload a rockspec to the public rocks repository.
  116. which
  117. Tell which file corresponds to a given module name.
  118. write_rockspec
  119. Write a template for a rockspec file.
  120.  
  121. CONFIGURATION
  122. Lua version: 5.3
  123.  
  124. Configuration files:
  125. System : /usr/local/etc/luarocks/config-5.3.lua (ok)
  126. User : /home/russellh/.luarocks/config-5.3.lua (not found)
  127.  
  128. Rocks trees in use:
  129. /home/russellh/.luarocks ("user")
  130. /usr/local ("system")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement