I get the following when I try to 'gem install zk-eventmachine'
make[1]: Leaving directory `/usr/local/lib/ruby/gems/2.2.0/gems/zookeeper-1.3.0/ext/c'
checking for rb_thread_blocking_region()... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling event_lib.c
compiling zkrb_wrapper_compat.c
compiling zkrb_wrapper.c
compiling zkrb.c
In file included from /usr/local/include/ruby-2.2.0/ruby.h:33:0,
from zkrb.c:68:
zkrb.c: In function ‘get_call_type’:
/usr/local/include/ruby-2.2.0/ruby/ruby.h:422:18: error: expected ‘(’ before ‘!’ token
#define RTEST(v) !(((VALUE)(v) & ~Qnil) == 0)
^
zkrb.c:148:6: note: in expansion of macro ‘RTEST’
if RTEST(async) {
^
zkrb.c:148:19: error: expected ‘;’ before ‘{’ token
if RTEST(async) {
^
In file included from /usr/local/include/ruby-2.2.0/ruby.h:33:0,
from zkrb.c:68:
zkrb.c: In function ‘get_self_pipe_read_fd’:
/usr/local/include/ruby-2.2.0/ruby/ruby.h:423:18: error: expected ‘(’ before ‘!’ token
#define NIL_P(v) !((VALUE)(v) != Qnil)
^
zkrb.c:761:6: note: in expansion of macro ‘NIL_P’
if NIL_P(pipe_read)
^
zkrb.c:762:7: error: expected ‘;’ before ‘rb_raise’
rb_raise(rb_eRuntimeError, "@pipe_read was nil!");
^
make: *** [zkrb.o] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/local/lib/ruby/gems/2.2.0/gems/zookeeper-1.3.0 for inspection.
Results logged to /usr/local/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/zookeeper-1.3.0/gem_make.out
This is on CentOS Linux release 7.1.1503 (Core) and I am using ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux].
What is going wrong? Can I fix this? Also I noticed this repo hasn't gotten many updates in a long time so is this gem feature complete or dead?
I get the following when I try to 'gem install zk-eventmachine'
This is on CentOS Linux release 7.1.1503 (Core) and I am using ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux].
What is going wrong? Can I fix this? Also I noticed this repo hasn't gotten many updates in a long time so is this gem feature complete or dead?