Rubywmq v1.0.0 compilation on 1.9.1 linux x86 fails

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.

Regards, John.

The following error occurs:

[user@system ext]# ./
checking for cmqc.h… yes
Generated wmq_reason.c
Generated wmq_const_admin.rb
Generated wmq_const.rb
Generated wmq_structs.c
creating Makefile
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.
-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 (
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

And the used MQ version is MQSeriesSDK-6.0.2-3.i386