Closed Nomarian closed 2 years ago
env: ‘/tmp/luarocks_cqueues-20200726.53-0-72Z5jr/cqueues-rel-20200726/mk/luapath’: Permission denied
This suggests luapath
is not chmod +x. Do you happen to have /tmp
mounted noexec
?
ah, I do.
FWIW I happen to have $TMPDIR set which usually avoids this.
FWIW I happen to have $TMPDIR set which usually avoids this.
I guess that would be a luarocks bug rather than a cqueues/luapath bug if TMPDIR is not being respected?
Ah, I was mistaken, when you sudo the environment variables does not get inherited, you have to sudo -E.
other environments do have /tmp as noexec and you can sh /tmp/ instead of running directly. but sudo -E worked, so matter closed?
I have seen luapath in other places, I think it should just be installed via luarocks into its bin path considering.
I don't think there's anything that can/should be done in the context of the cqueues project
It seems luapath is not capable of identifying where lua.h is on raspbian using luarocks.
FWIW, lua.h is in /usr/include/lua5.3/