From baarod at gmail.com Thu Apr 19 20:32:12 2012 From: baarod at gmail.com (Mike Byrns) Date: Thu, 19 Apr 2012 15:32:12 -0500 Subject: [RubyWMQ-Misc] won't build on rhel6 Message-ID: Tried to build 1.1.1 and 1.0.0 Gems and source from git as root. Avoided mq header errors by CPATH=/opt/mqm/inc. Still getting: # gem install rubywmq Building native extensions. This could take a while... ERROR: Error installing rubywmq: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for cmqc.h... yes Generated wmq_reason.c Generated wmq_const_admin.rb Generated wmq_const.rb Generated wmq_structs.c creating Makefile make Makefile:140: warning: overriding commands for target `/usr/lib/ruby/gems/1.8/gems/rubywmq-1.1.1/lib/wmq' Makefile:138: warning: ignoring old commands for target `/usr/lib/ruby/gems/1.8/gems/rubywmq-1.1.1/lib/wmq' gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_CMQC_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC -c wmq_reason.c wmq_reason.c: In function ?wmq_selector_id?: wmq_reason.c:4070: error: duplicate case value wmq_reason.c:4069: error: previously used here make: *** [wmq_reason.o] Error 1 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rubywmq-1.1.1 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/rubywmq-1.1.1/ext/gem_make.out -------------- next part -------------- An HTML attachment was scrubbed... URL: