Open ares opened 3 years ago
@ananace you may actually know :-)
btw this dependency is missing in gemspec, we rely on dhcp isc module to require that
OpenWrt is not intended to be developed on, hence the lack of things like libffi-dev. It can still be built though, it just requires a separate machine with an OpenWrt development environment, which is a bit of a pain - and not really something I can assist with as I gave up on that avenue myself when I realized what kind of a hassle it was.
Personally, I'm running an LXC container with Alpine in it to host the smart-proxy, into which I've then mounted the configuration, and on top of that is a tiny host-side daemon that triggers a configuration reload when the smart-proxy touches a certain file.
I could write up some examples for how to do that particular setup, as OpenWrt really isn't the nicest platform for installing things that require compiling native modules.
Feel free to submit a PR for the missing dependency though, probably best to fix that.
Thanks for your reply, I appreciate all pointers! I'll most likely give up on this, but I'll at least add the explicit rb-inotify dependency.
Hello,
the plugin indicates, this can be used on openwrt, which I'm trying to achieve right now. However it depends on rb-inotify, which I'm not able to install. Even with ruby-dev and ruby-mkmf packages, the gem fails to build native extensions, due to libffi-dev missing. That does not seems to be available for openwrt. How do you overcome this on your openwrt environments?