#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    1
    Rep Power
    0

    Ruby Gem Install Problem


    Hopefully someone out there can help me.

    I'm trying to install the rubywmq gem on a new 64 bit Windows Server.

    I've installed the IBM Websphere MQ client.

    When I run:
    >gem install rubwmq

    I've done this before on numerous computers and servers and not had an issue. I get the following error message:

    Building native extensions. This could take a while...
    ERROR: Error installing rubywmq:
    ERROR: Failed to build gem native extension.

    C:/Ruby186/bin/ruby.exe extconf.rb
    checking for cmqc.h... no
    checking for main() in -lmqm... no
    *** 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=C:/Ruby186/bin/ruby
    --with-mqmlib
    --without-mqmlib
    ./generate/generate_reason.rb:6:in `initialize': No such file or directory - /op
    t/mqm/inc/cmqc.h (Errno::ENOENT)
    from ./generate/generate_reason.rb:6:in `open'
    from ./generate/generate_reason.rb:6:in `extract_const'
    from ./generate/generate_reason.rb:26:in `reason_case'
    from ./generate/generate_reason.rb:84:in `wmq_reason'
    from ./generate/generate_reason.rb:82:in `each'
    from ./generate/generate_reason.rb:82:in `wmq_reason'
    from ./generate/generate_reason.rb:237:in `generate'
    from ./generate/generate_reason.rb:237:in `open'
    from ./generate/generate_reason.rb:237:in `generate'
    from extconf.rb:39


    Gem files will remain installed in C:/Ruby186/lib/ruby/gems/1.8/gems/rubywmq-1.0
    .0 for inspection.
    Results logged to C:/Ruby186/lib/ruby/gems/1.8/gems/rubywmq-1.0.0/ext/gem_make.out

    Any help would be greatly appreciated.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2010
    Location
    San Jose
    Posts
    20
    Rep Power
    0

    you should first check out if some 64 bit version gem is available


    you need to check out if some 64 bit gem is available to install as you are running a 64 bit pc

IMN logo majestic logo threadwatch logo seochat tools logo