Skip to content
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

sys/signalfd.h not found #7

Open
amatiasq opened this issue Apr 15, 2014 · 2 comments
Open

sys/signalfd.h not found #7

amatiasq opened this issue Apr 15, 2014 · 2 comments

Comments

@amatiasq
Copy link

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

@raucao
Copy link
Member

raucao commented Apr 15, 2014

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.

@amatiasq
Copy link
Author

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants