-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luarocks fail on moonlibs/algo #802
Comments
@ochaton suggests me to look into $ cat .rocks/bin/luacheck
#!/bin/sh
LUAROCKS_SYSCONFDIR='/etc/luarocks' exec '/usr/bin/lua5.1' -e 'package.path="/home/alex/p/t/moonlibs/algo/.rocks/share/tarantool/?.lua;/home/alex/p/t/moonlibs/algo/.rocks/share/tarantool/?/init.lua;"..package.path;package.cpath="/home/alex/p/t/moonlibs/algo/.rocks/lib/tarantool/?.so;"..package.cpath;local k,l,_=pcall(require,"luarocks.loader") _=k and l.add_context("luacheck","scm-1")' '/home/alex/p/t/moonlibs/algo/.rocks/share/tarantool/rocks/luacheck/scm-1/bin/luacheck' "$@"
$ tt rocks
<...>
Configuration:
Lua:
Version : 5.1
Interpreter: /usr/bin/lua5.1 (ok)
LUA_DIR : /usr (ok)
LUA_BINDIR : /usr/bin (ok)
LUA_INCDIR : /usr/include/lua5.1 (ok)
LUA_LIBDIR : /usr/lib64/lua/5.1 (not found)
****************************************
Use the command
luarocks config variables.LUA_LIBDIR <dir>
to fix the location
****************************************
Configuration files:
System : /etc/luarocks/config-5.1.lua (ok)
User : /home/alex/p/t/moonlibs/algo/.rocks/config-5.1.lua (ok)
Rocks trees in use:
/home/alex/.luarocks ("user")
/usr/share/lua/5.1 ("system") |
@Totktonada it is okay to have lua5.1 installed in the system along with tarantool. The real problem is, that As long, as only you have good and stable reproducer, could you please configure extra option |
$ tt cfg dump
/etc/tarantool/tt.yaml:
env:
bin_dir: /opt/tarantool/bin
inc_dir: /opt/tarantool/include
instances_enabled: /etc/tarantool/instances.enabled
restart_on_failure: false
tarantoolctl_layout: true
modules:
directory: /opt/tarantool/modules
app:
run_dir: /var/run/tarantool/sys_env
log_dir: /var/log/tarantool/sys_env
wal_dir: /var/lib/tarantool/sys_env
memtx_dir: /var/lib/tarantool/sys_env
vinyl_dir: /var/lib/tarantool/sys_env
ee:
credential_path: ""
templates:
- path: /opt/tarantool/templates
repo:
rocks: ""
distfiles: /var/cache/tarantool/distfiles My
I see no changes in the configuration shown by |
Version
Steps to reproduce
Result
Full output
Findings
Search on
fulfill_dependencies
on the LuaRocks bug tracker gives the following open reports.And the following closed ones.
luarocks/luarocks#1549 looks promising.
There is luarocks v3.10.0.
The text was updated successfully, but these errors were encountered: