Hi,
I am trying to install Watir 1.6.5 on Ruby 1.9.1, but this is the
issue. I am encountering:
E:\>gem install watir
Building native extensions. This could take a while...
ERROR: Error installing watir:
ERROR: Failed to build gem native extension.
E:/Ruby19/bin/ruby.exe extconf.rb
checking for strncpy_s()... *** 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=E:/Ruby19/bin/ruby
E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:362:in `try_do': The complier failed to generat
e an executable file. (RuntimeError)
You have to install development tools first.
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:415:in `try_link0'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:419:in `try_link'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:527:in `try_func'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:772:in `block in have_func'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:668:in `block in checking_for'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:274:in `block (2 levels) in postpo
ne'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:274:in `block in postpone'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:270:in `postpone'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:667:in `checking_for'
from E:/Ruby19/lib/ruby/1.9.1/mkmf.rb:771:in `have_func'
from extconf.rb:9:in `<main>'
Gem files will remain installed in E:/Ruby19/lib/ruby/gems/1.9.1/gems/win32-api-
1.4.5 for inspection.
Results logged to E:/Ruby19/lib/ruby/gems/1.9.1/gems/win32-api-1.4.5/ext/gem_mak
e.out
Any suggestions?
Aidy
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general