rbkit icon indicating copy to clipboard operation
rbkit copied to clipboard

Trouble installing, native extensions

Open wjdp opened this issue 9 years ago • 0 comments

System is Ubuntu 16.04, Ruby 2.3.1, gem 2.5.1. I've got libtool, autoconf and automake.

Gem does not install, issue with native extensions. Logs are available on this gist.

                             ^
In file included from rbkit_tracer.h:8:0,
                 from rbkit_tracer.c:9:
/usr/include/zmq.h:229:16: note: expected ‘zmq_msg_t * {aka struct <anonymous> *}’ but argument is of type ‘char *’
 ZMQ_EXPORT int zmq_send (void *s, zmq_msg_t *msg, int flags);
                ^
rbkit_tracer.c:340:5: error: too many arguments to function ‘zmq_send’
     zmq_send(zmq_publisher, sbuf->data, sbuf->size, 0);
     ^
In file included from rbkit_tracer.h:8:0,
                 from rbkit_tracer.c:9:
/usr/include/zmq.h:229:16: note: declared here
 ZMQ_EXPORT int zmq_send (void *s, zmq_msg_t *msg, int flags);
                ^
Makefile:239: recipe for target 'rbkit_tracer.o' failed
make: *** [rbkit_tracer.o] Error 1

make failed, exit code 2

wjdp avatar Nov 17 '16 01:11 wjdp