[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Help watir

Ruby Student

4/10/2009 2:03:00 PM

[Note: parts of this message were removed to make it a legal post.]

Hello team,

While attempting to install watir I came across the following errors.
Any help will be appreciated.

Thank you

ruby -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32]

gem -v
1.3.1

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

F:/ruby/bin/ruby.exe extconf.rb install watir
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=F:/ruby/bin/ruby
F:/ruby/lib/ruby/1.9.1/mkmf.rb:362:in `try_do': The complier failed to
generate an executable file. (RuntimeError)
You have to install development tools first.
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:415:in `try_link0'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:419:in `try_link'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:527:in `try_func'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:772:in `block in have_func'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:668:in `block in checking_for'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:274:in `block (2 levels) in
postpone'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:274:in `block in postpone'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:270:in `postpone'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:667:in `checking_for'
from F:/ruby/lib/ruby/1.9.1/mkmf.rb:771:in `have_func'
from extconf.rb:9:in `<main>'


Gem files will remain installed in
F:/ruby/lib/ruby/gems/1.9.1/gems/win32-api-1.4.0 for inspection.
Results logged to
F:/ruby/lib/ruby/gems/1.9.1/gems/win32-api-1.4.0/ext/gem_make.out
Updating class cache with 1396 classes...

--
Ruby Student

2 Answers

Nigel Hennan

4/11/2009 10:06:00 PM

0

Hi there,

I don't think Watir is working with Ruby 1.9.1 yet, and will be happy to
know about.

If you want to a simple way to get a Watir up running with Ruby 1.8.6
http://www.itest2.com/articles/2009/02/27/easy-setup-watir-with-pror-o...

Nigel
--
Posted via http://www.ruby-....

Ruby Student

4/13/2009 3:04:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

On Sat, Apr 11, 2009 at 6:06 PM, Nigel Hennan <nigel.hennan@gmail.com>wrote:

> Hi there,
>
> I don't think Watir is working with Ruby 1.9.1 yet, and will be happy to
> know about.
>
> If you want to a simple way to get a Watir up running with Ruby 1.8.6
>
> http://www.itest2.com/articles/2009/02/27/easy-setup-watir-with-pror-o...
>
> Nigel
> --
> Posted via http://www.ruby-....
>
>
Nigel, Thank you for your reply. I guess I'll wait until it works on 1.9.1.
That;s the Ruby version I have these days.

--
Ruby Student