Hello Team,
I tried this on *JRUBY *forum first. But I want to expand my chances
that
someone might see this and help:
My environment:jruby -v
jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on IBM J9 VM
pap6470sr4fp1-20130325_01 (SR4 FP1) +indy [AIX-ppc64]
Attempting to install any of the following gems generate basically the
same errors:
rubywmq-2.0.2.gem
ferocia-rubywmq-2.0.6.gem
ekaranto-rubywmq-2.0.2.gem
Regardless of the gem, I get basically the same errors. For instance,
here is one of them.
Any assistance will be greatly appreciated.
jgem install ekaranto-rubywmq-2.0.2.gem
Building native extensions. This could take a while…
ERROR: Error installing ekaranto-rubywmq-2.0.2.gem:
ERROR: Failed to build gem native extension.
/opt/jruby/bin/jruby extconf.rb
/opt/jruby/lib/ruby/shared/mkmf.rb:14: Use RbConfig instead of obsolete
and
deprecated Config.
checking for cmqc.h… no
checking for main() in -lmqm… no
Errno::ENOENT: ENOENT - /opt/mqm/inc/cmqc.h
initialize at org/jruby/RubyFile.java:333
open at org/jruby/RubyIO.java:1179
extract_const at
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2/ext/generate/generate_reason.rb:6
reason_case at
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2/ext/generate/generate_reason.rb:26
wmq_reason at
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2/ext/generate/generate_reason.rb:70
each at org/jruby/RubyArray.java:1613
wmq_reason at
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2/ext/generate/generate_reason.rb:68
generate at
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2/ext/generate/generate_reason.rb:224
open at org/jruby/RubyIO.java:1183
generate at
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2/ext/generate/generate_reason.rb:224
(root) at extconf.rb:27
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/opt/jruby/bin/jruby
–with-mqm-dir
–without-mqm-dir
–with-mqm-include
–without-mqm-include=${mqm-dir}/include
–with-mqm-lib
–without-mqm-lib=${mqm-dir}/lib
–with-mqmlib
–without-mqmlib
Gem files will remain installed in
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2 for
inspection.
Results logged to
/opt/jruby/lib/ruby/gems/shared/gems/ekaranto-rubywmq-2.0.2/ext/gem_make.out
Thank you