[zeromq-dev] ZMQ Gem Ubuntu 10.10 64bit?
Justin Stanczak
rizenine at gmail.com
Wed Apr 6 14:21:36 CEST 2011
I'm having issues getting the gem to compile native extensions. Here's the
error:
#################
gem install zmq
Building native extensions. This could take a while...
ERROR: Error installing zmq:
ERROR: Failed to build gem native extension.
/home/justin/.rvm/rubies/ruby-1.9.2-p136/bin/ruby extconf.rb
checking for zmq_init() in -lzmq... yes
Cool, I found your zmq install...
creating Makefile
make
gcc -I.
-I/home/justin/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/x86_64-linux
-I/home/justin/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/backward
-I/home/justin/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1 -I. -fPIC
-O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith
-Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -o
rbzmq.o -c rbzmq.c
rbzmq.c: In function ‘context_initialize’:
rbzmq.c:125: error: too few arguments to function ‘zmq_init’
rbzmq.c: In function ‘module_select_internal’:
rbzmq.c:374: warning: passing argument 3 of ‘rb_ensure’ from incompatible
pointer type
/home/justin/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/ruby.h:1156:
note: expected ‘VALUE (*)()’ but argument is of type ‘void (*)()’
rbzmq.c: In function ‘socket_getsockopt’:
rbzmq.c:956: error: ‘ZMQ_RCVMORE’ undeclared (first use in this function)
rbzmq.c:956: error: (Each undeclared identifier is reported only once
rbzmq.c:956: error: for each function it appears in.)
rbzmq.c: In function ‘Init_zmq’:
rbzmq.c:1625: error: ‘ZMQ_SNDMORE’ undeclared (first use in this function)
rbzmq.c:1626: error: ‘ZMQ_RCVMORE’ undeclared (first use in this function)
rbzmq.c:1638: error: ‘ZMQ_PAIR’ undeclared (first use in this function)
make: *** [rbzmq.o] Error 1
Gem files will remain installed in
/home/justin/.rvm/gems/ruby-1.9.2-p136/gems/zmq-2.1.0.1 for inspection.
Results logged to
/home/justin/.rvm/gems/ruby-1.9.2-p136/gems/zmq-2.1.0.1/./gem_make.out
######################
Ubuntu 10.10, using repo packages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110406/ab0f6bd0/attachment.htm>
More information about the zeromq-dev
mailing list