-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
module '_cqueues' not found #11
Comments
I tried being more explicit:
with same issues. luapak's directory-structure seems sensible:
|
Additionally, I tried using a pure-lua (via ffi) socket-library: https://github.com/CapsAdmin/luajitsocket Here is my rockspec: package = "rattata"
version = "scm-1"
source = {
url = "https://github.com/notnullgames/rattata.git"
}
description = {
detailed = "![rattata](https://cdn.bulbagarden.net/upload/thumb/4/46/019Rattata.png/500px-019Rattata.png)",
homepage = "https://github.com/notnullgames/rattata",
license = "MIT"
}
dependencies = {
}
build = {
type = "builtin",
modules = {
rattata = "src/rattata.lua",
["src.ljsocket"] = "src/ljsocket.lua"
},
install = {
bin = {
"src/rattata.lua"
}
}
} and it seems to be leaving out ffi.
|
Did you ever manage to work this out? Guessing not since there wasn't a follow up but I'm stuck on something similar, I have a few things building and working but once I introduced luasocket I ran into issues of not being able to load |
No, I ended up just not using luapak. |
Thanks for the response! I think I should give up too but I'm not sure what my alternatives will be... possibly using a system Lua (locked to 5.1 so will cause other issues with cqueues 🙃). Pretty stuck! Thanks again though, useful to know. |
I am trying to pak a small demo program that uses socket & http.request. Here is the demo-project. I am probably doing something wrong. I am sort of new to luarocks and luapak.
Here is the entry-point:
It's just a small test of luasocket + http, really. I basically just want a bundled luajit + those 2 libs.
When I run this to pak it:
I also tried:
It says
but all of those are installed (on my system) and the script works outside of luapak. After this, it builds things (it looks like it's building the things in the list) and finishes with no errors (and a lot of warnings)
When I try to run
./dist/rattata
, I get this:It seems like it's not finding the native stuff it built. What am I doing wrong?
The text was updated successfully, but these errors were encountered: