russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> sudo ./configure Configuring LuaRocks... Lua version detected: 5.4 Lua interpreter found: /usr/local/bin/lua54 lua.h found: /usr/local/include/lua.h unzip found in PATH: /usr/bin Done configuring. LuaRocks will be installed at......: /usr/local LuaRocks will install rocks at.....: /usr/local LuaRocks configuration directory...: /usr/local/etc/luarocks Using Lua from.....................: /usr/local * Type make and make install: to install to /usr/local as usual. * Type make bootstrap: to install LuaRocks into /usr/local as a rock. russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> sudo make rm -f src/luarocks/core/hardcoded.lua echo "#!/bin/sh" > luarocks echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4" >> luarocks echo 'LUAROCKS_SYSCONFDIR="/usr/local/etc/luarocks" LUA_PATH="/src/?.lua;;" exec "/usr/local/bin/lua54" "/src/bin/luarocks" --project-tree="/lua_modules" "$@"' >> luarocks chmod +rx ./luarocks ./luarocks init /usr/local/bin/lua54: cannot open /src/bin/luarocks: No such file or directory *** Error code 1 Stop. make: stopped in /usr/home/russellh/freebsd/ports/devel/lua-luarocks/work/luarocks-3.0.0 russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> sudo make rm -f src/luarocks/core/hardcoded.lua echo "#!/bin/sh" > luarocks-admin echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4" >> luarocks-admin 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 chmod +rx ./luarocks-admin russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> russellh@g1 ~/f/p/d/l/w/luarocks-3.0.0> luarocks LuaRocks 3.0.0, the Lua package manager NAME /usr/local/bin/luarocks - LuaRocks main command-line interface SYNOPSIS /usr/local/bin/luarocks [] [VAR=VALUE]... [] GENERAL OPTIONS These apply to all commands, as appropriate: --dev Enable the sub-repositories in rocks servers for rockspecs of in-development versions --server= Fetch rocks/rockspecs from this server (takes priority over config file) --only-server= Fetch rocks/rockspecs from this server only (overrides any entries in the config file) --only-sources= Restrict downloads to paths matching the given URL. --lua-dir= Which Lua installation to use. --tree= Which tree to operate on. --local Use the tree in the user's home directory. To enable it, see '/usr/local/bin/luarocks help path'. --verbose Display verbose output of commands executed. --timeout= Timeout on network operations, in seconds. 0 means no timeout (wait forever). Default is 30. VARIABLES Variables from the "variables" table of the configuration file can be overriden with VAR=VALUE assignments. COMMANDS build build/compile a rock. config Query information about the LuaRocks configuration. doc Show documentation for an installed rock. download Download a specific rock file from a rocks server. help Help on commands. Type '/usr/local/bin/luarocks help ' for more. init Initialize a directory for a Lua project using LuaRocks. install Install a rock. lint Check syntax of a rockspec. list List currently installed rocks. make Compile package in current directory using a rockspec. new_version Auto-write a rockspec for a new version of a rock. pack Create a rock, packing sources or binaries. path Return the currently configured package path. purge Remove all installed rocks from a tree. remove Uninstall a rock. search Query the LuaRocks servers. show Show information about an installed rock. test Run the test suite in the current directory. unpack Unpack the contents of a rock. upload Upload a rockspec to the public rocks repository. which Tell which file corresponds to a given module name. write_rockspec Write a template for a rockspec file. CONFIGURATION Lua version: 5.3 Configuration files: System : /usr/local/etc/luarocks/config-5.3.lua (ok) User : /home/russellh/.luarocks/config-5.3.lua (not found) Rocks trees in use: /home/russellh/.luarocks ("user") /usr/local ("system")