From: John Slobbe Date: 2009-08-16T06:14:02+09:00 Subject: 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]# ./build.sh 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. -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 'ptr' wmq_queue_manager.c:1301: error: 'struct RString' has no member named 'ptr' 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 'ptr' wmq_queue_manager.c:1570: error: 'struct RString' has no member named 'ptr' make: *** [wmq_queue_manager.o] Error 1 -- Posted via http://www.ruby-forum.com/.