remotestorage/rs-serve

sys/signalfd.h not found

amatiasq opened this issue · 2 comments

As the README says

It does however currently use the signalfd() system call, which is only available on Linux. (this is a solvable problem though, if you want to be able to run on another system, please open an issue to ask for help.)

I'm facing this error:

[100%] Built target libevhtp
[CC] config
In file included from src/config.c:13:
src/rs-serve.h:38:10: fatal error: 'sys/signalfd.h' file not found
#include <sys/signalfd.h>
         ^
1 error generated.

So... help? :)

I'm trying to build it on OSX 10.9.2

Hi @amatiasq,

Thanks for asking! Unfortunately the maintainer of this program hasn't been active in quite a while and it's unlikely he'll respond to this request anytime soon, I'm afraid.

rs-serve is still an experimental program, so if you know a thing or two about C, and you'd like to help with e.g. OS X support it'd be awesome if you could dig into how to replace the system call yourself and do a pull request with the fix.

If you're just looking to use something asap and not fiddle with it, I'd recommend having a look at reStore, which runs entirely in node.js and should support at least all NIXes.

Hope that helps.

Thanks for the heads up @skddc!

Unfortunately 10 years have passed since last time I typed C++, I will probably break something :P

I'll check reStore, thanks 👍