Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8934375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:46:12+00:00 2026-06-15T09:46:12+00:00

I got the below error when trying to install webdriver gem under Cygwin :

  • 0

I got the below error when trying to install webdriver gem under Cygwin:

“gem install selenium-webdriver-2.26.0.gem”: (Note that I want to install Webdriver gem under Cygwin using Ruby).

$ gem install selenium-webdriver-2.26.0.gem
Building native extensions.  This could take a while... 
ERROR:  Error installing selenium-webdriver-2.26.0.gem:
ERROR: Failed to build gem native extension.


/usr/bin/ruby.exe extconf.rb checking for ffi.h... *** 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=/usr/bin/ruby
        --with-ffi_c-dir
        --without-ffi_c-dir
        --with-ffi_c-include
        --without-ffi_c-include=${ffi_c-dir}/include
        --with-ffi_c-lib
        --without-ffi_c-lib=${ffi_c-dir}/lib
        --with-libffi-config
        --without-libffi-config
        --with-pkg-config
        --without-pkg-config 
     /usr/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an  executable file.
(RuntimeError) You have to install development tools first.
        from /usr/lib/ruby/1.9.1/mkmf.rb:506:in `try_cpp'
        from /usr/lib/ruby/1.9.1/mkmf.rb:931:in `block in have_header'
        from /usr/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
        from /usr/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
        from /usr/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /usr/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
        from /usr/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /usr/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
        from /usr/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
        from /usr/lib/ruby/1.9.1/mkmf.rb:930:in `have_header'
        from extconf.rb:14:in `<main>'


Gem files will remain installed in
/usr/lib/ruby/gems/1.9.1/gems/ffi-1.2.0 for inspection. Results
logged to
/usr/lib/ruby/gems/1.9.1/gems/ffi-1.2.0/ext/ffi_c/gem_make.out

Please guide me what thing I need to do to solve this problem? Any help is much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:46:13+00:00Added an answer on June 15, 2026 at 9:46 am

    The answer is that Cygwin is not supported to install webdriver gem (Please refer to my question to Selenium guys for details: http://code.google.com/p/selenium/issues/detail?id=4812), So I tried to install on Ruby command prompt window instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got the error below when trying to run a Selenium Ruby Webdriver script
I got the below error when trying to install rubygems on Ruby command prompt
I am trying to install django sentry for my application but got below error
Install mongodb-10gen as http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/ but got error below: dpkg: error processing /var/cache/apt/archives/mongodb-10gen_2.2.0_amd64.deb (--unpack): trying
Trying to use KineticGWT with Maven but got error below. Any help is appreciated.
I was trying to install XML_Query2XML package but I am getting below error (I
Trying to create the first project. First got the below error when I ran,
I've got the following java code, which is giving the error below: import java.io.File;
I got the Error message in Android below, it is send by PHP server
iam trying to run an application visual studio 2008.. got this error.. help me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.