From: Oleg Babin <olegrok@tarantool.org>
To: lvasiliev <lvasiliev@tarantool.org>, v.shpilevoy@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH] rocks: forward options to luarocks
Date: Thu, 2 Apr 2020 11:53:18 +0300 [thread overview]
Message-ID: <84288a88-e33e-10d3-da99-5fdab695c3f0@tarantool.org> (raw)
In-Reply-To: <bd07aff0-096c-4f6c-0f2c-38ce69db829e@tarantool.org>
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
next prev parent reply other threads:[~2020-04-02 8:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 22:01 Leonid Vasiliev
2020-04-01 10:44 ` Oleg Babin
2020-04-02 8:30 ` lvasiliev
2020-04-02 8:53 ` Oleg Babin [this message]
2020-04-02 9:56 ` lvasiliev
2020-04-02 10:14 ` Oleg Babin
2020-04-04 19:30 ` Vladislav Shpilevoy
2020-04-05 15:01 ` lvasiliev
2020-04-05 18:40 ` Vladislav Shpilevoy
-- strict thread matches above, loose matches on Subject: below --
2019-11-18 18:26 Leonid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84288a88-e33e-10d3-da99-5fdab695c3f0@tarantool.org \
--to=olegrok@tarantool.org \
--cc=lvasiliev@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH] rocks: forward options to luarocks' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox