Did anyone get to compile rubywmq v1.0.0 (Ruby’s IBM Websphere MQ
wrapper) with ruby 1.9.1 on linux x86 ?
Hope someone has any experience with this.
The following error occurs:
[[email protected] ext]# ./build.sh
checking for cmqc.h… yes
gcc -I. -I/usr/include/ruby-1.9.1/i686-linux
-I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I.
-DHAVE_CMQC_H -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall
-Wno-parentheses -o wmq_queue_manager.o -c wmq_queue_manager.c
In file included from wmq_queue_manager.c:17:
wmq.h:18:21: error: version.h: No such file or directory
wmq_queue_manager.c: In function ‘QueueManager_initialize’:
wmq_queue_manager.c: In function ‘QueueManager_execute_each’:
wmq_queue_manager.c:1266: error: ‘struct RString’ has no member named
wmq_queue_manager.c:1301: error: ‘struct RString’ has no member named
wmq_queue_manager.c: In function ‘QueueManager_execute’:
wmq_queue_manager.c:1410: warning: passing argument 3 of ‘rb_iterate’
from incompatible pointer type
/usr/include/ruby-1.9.1/ruby/ruby.h:979: note: expected ‘VALUE ()()’
but argument is of type 'int ()(VALUE, struct QUEUE_MANAGER *)’
wmq_queue_manager.c:1563: error: ‘struct RString’ has no member named
wmq_queue_manager.c:1570: error: ‘struct RString’ has no member named
make: *** [wmq_queue_manager.o] Error 1