Error in installing Raakt gem

srinivasa's Avatar

srinivasa

23 Sep, 2010 10:37 AM

Hi,
I'm trying to install Raakt gem.
When I run: gem install raakt

I get the following error:

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

C:/Ruby187/bin/ruby.exe extconf.rb
checking for stdio.h... 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:/Ruby187/bin/ruby


Gem files will remain installed in C:/Ruby187/lib/ruby/gems/1.8/gems/hpricot-0.8.2 for inspection.
Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/hpricot-0.8.2/ext/fast_xs/gem_make.out

I'm new to RUBY and trying to work on a accessibility test project using WATIR, but i don't know how to proceed ? Any help would be highly appreciated...
Best regards, Srini.

  1. Support Staff 2 Posted by Nick Quaranto on 25 Sep, 2010 05:27 AM

    Nick Quaranto's Avatar

    Hi there,

    We usually don't provide support for individual gems, but we'll make an exception here.

    This isn't a problem with RubyGems, but rather with your machine. Many gems have C extensions built in, raakt does, and your Windows setup doesn't have a compiler handy for building the C extensions. Usually gems like this need windows-compatible releases, since many are based for OSX or Linux.

    Personally I would suggest going with Selenium if you're looking for browser integration testing. http://selenium-client.rubyforge.org/

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac