lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Fri, Dec 2, 2016 at 7:40 AM, Deepak Jois <> wrote:
> /usr/local is not writable.
> The following subdirectories (and their immediate subdirectories)
> under /usr/local are all writable
> - /usr/local/lib/luarocks
> - /usr/local/share/lua
> - /usr/local/lib/lua

I decided to try something. I reinstalled Lua using Homebrew. This
time it installed without LuaRocks. After that I installed LuaRocks by
downloading a tarball. I noticed a few things:

1. `make bootstrap` throws an error ‘Your user does not have write
permissions in /usr/local’

2. `make build` and `make install` work. However, now if I do
`luarocks install <package>` or `luarocks remove <package>, it gives
me the same error as above.

So looks like for now my only option is to install LuaRocks outside of
/usr/local, which is a bit inconvenient.