[Tarantool-patches] [PATCH] rocks: forward options to luarocks
Oleg Babin
olegrok at tarantool.org
Thu Apr 2 11:53:18 MSK 2020
Hi! Thanks for answers!
On 02/04/2020 11:30, lvasiliev wrote:
> As I understand it, you use luarocks from the system, you need use
> luaroks from the repo (use export LUA_PATH=...).
Yes, you are right.
LUA_PATH="$PWD/third_party/luarocks/src/?.lua" ./src/tarantool
extra/dist/tarantoolctl rocks make
It solved my problem. However, there is another error:
```
LUA_PATH="$PWD/third_party/luarocks/src/?.lua" ./src/tarantool
extra/dist/tarantoolctl rocks make --chdir ../tracing
Error: Argument missing: please specify a rockspec to use on current
directory.
```
But it worked before.
Ok. Let's add a rockspec.
```
LUA_PATH="$PWD/third_party/luarocks/src/?.lua;$PWD/src/?/init.lua"
./src/tarantool extra/dist/tarantoolctl rocks make
../tracing/tracing-scm-1.rockspec --chdir ../tracing
Missing dependencies for tracing scm-1:
checks >= 3.0.1 (not installed)
tracing scm-1 depends on checks >= 3.0.1 (not installed)
checks not found for Lua 5.1.
Checking if available for other Lua versions...
Checking for Lua 5.2...
Checking for Lua 5.3...
Checking for Lua 5.4...
Error: Could not satisfy dependency checks >= 3.0.1: No results matching
query were found for Lua 5.1.
```
Expected result - "checks" will be downloaded and installed as well as
"tracing" in "$PWD/.rocks"
---
Oleg Babin
More information about the Tarantool-patches
mailing list