We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have this simple repro testcase that uses lua-requests:
lua-requests
local requests = require("requests") print("go") do local res = requests.get("http://192.168.1.1") return print(res.text) end
...with this .rockspec:
.rockspec
package = "fennel-http" version = "scm-1" source = { url = "" } description = { homepage = "", license = "" } dependencies = { "lua >= 5.1, < 5.4", "lua-requests" } build = { type="builtin", modules = { request = "request.lua", }, install = { bin = { "request.lua" } } }
Somehow luapak can't get lua-requests installed into .luapak.
luapak
.luapak
Running:
% luapak make --lua-lib=/usr/lib/x86_64-linux-gnu/liblua5.1.a
..gives me this:
lua-requests 1.2-1 depends on luasec >= 0.5.1 (not installed) Installing https://luarocks.org/luasec-0.8-1.src.rock luapak: error: Failed to build /mnt/c/....rockspec: Failed installing dependency: https://luarocks.org/lua-requests-1.2-1.src.rock - Failed installing dependency: https://luarocks.org/luasec-0.8-1.src.rock - Failed copying ssl.so
Any ideas?
The text was updated successfully, but these errors were encountered:
According to the path, you’re running this on Windows, right? In what environment exactly – cygwin, MinGW, something different?
Sorry, something went wrong.
I’m running that in the Ubuntu Linux subsystem, and get exactly the same results in Ubuntu 18.04.
Hi there. Any luck with this? I've tried on a fresh VM, and it still doesn't work for me.
No branches or pull requests
I have this simple repro testcase that uses
lua-requests
:...with this
.rockspec
:Somehow
luapak
can't getlua-requests
installed into.luapak
.Running:
..gives me this:
lua-requests 1.2-1 depends on luasec >= 0.5.1 (not installed) Installing https://luarocks.org/luasec-0.8-1.src.rock luapak: error: Failed to build /mnt/c/....rockspec: Failed installing dependency: https://luarocks.org/lua-requests-1.2-1.src.rock - Failed installing dependency: https://luarocks.org/luasec-0.8-1.src.rock - Failed copying ssl.so
Any ideas?
The text was updated successfully, but these errors were encountered: