lua-users home
lua-l archive

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


On 23 July 2018 at 14:12, Mike Schmitz <tmschmitz@gmail.com> wrote:
> I use a --versioned-rocks-dir installation with 5.1, 5.2 and 5.3
>
> I should say I used to use...

All LR3 installations use a versioned rocks dir, that's why the flag
is gone (it's now "always on").

> I still set it up that way, but I can only use 5.1. Luarocks-5.2 and
> luarocks-5.3 lock up when using the search functionand I have to kill
> them while it eats all the cycles on my computer. Install function works
> fine.

Could you try running the problematic commands with --verbose and
sharing the results?

> A little about my setup:
>
> Devuan Ascii
>
> lua 5.1, 5.2 and 5.3 installed by apt
>
> $ ls -l /etc/alternatives/lua-interpreter
> lrwxrwxrwx 1 root root 15 Mar 31  2016 /etc/alternatives/lua-interpreter -> /usr/bin/lua5.2
>
> luarocks downloaded and uptated by git
>
> ./configure --lua-version=5.[ver] --lua-suffix=5.[ver] --with-lua-include=/usr/include/lua5.[ver] --versioned-rocks-dir

Instead of --lua-suffix you should use --lua-interpreter, in case
--lua-version isn't enough to autodetect it. (But given your setup, I
believe `./configure --lua-version=5.[ver]` should be sufficient).

Thank you for the report, let's dig into this. Opening an issue on
Github would be ideal, so we can track this without bothering lua-l.

-- Hisham