-
Notifications
You must be signed in to change notification settings - Fork 307
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
Build is failing on Mac OS X Lion 7.3 #45
Comments
You need to install libevent. Please refer to the README for instructions. |
Do I also have to install hiredis ? I am getting the below error now. I have libevent installed. $ make |
No, hired is is bundled. This seems to be an issue when compiling with clang; I'll try to reproduce it. |
I have updated hiredis, which should fix this issue. Could you please try out the latest master? |
Looks good now. Thanks. |
What you wrote seems wrong; you started webdis and that created a process with PID 31597 and you tried to connect to TCP port 31597. I assume you then killed webdis (seeing as it shows Done ./webdis), and then tried to connect to the right port, 7379. Run it, and connect to port 7379. You can use |
Right, initially I gave the process id by mistake for the port, but corrected it later. $ curl -v http://127.0.0.1:7379/SET/hello/world
|
Is redis running? I tried with redis running and it returned |
Redis was running. I killed both redis and webdis processes and started them again. It looks good now. |
Great! I'm glad to know it's working now. I'm not sure exactly what you mean, but webdis maintains persistent connections to redis, although it doesn't record the number of connections that have been made to itself. For further references you can look at the code, or ask me here on GitHub or by email, no preference. I'd be interested to see how far you can scale redis and webdis. |
$ make
cc -c -O3 -Wall -Wextra -I. -Ijansson/src -Ihttp-parser -o webdis.o webdis.c
In file included from webdis.c:1:
./server.h:4:10: fatal error: 'event.h' file not found
include <event.h>
1 error generated.
make: *** [webdis.o] Error 1
The text was updated successfully, but these errors were encountered: