[wtr-general] Installing watir-classic on OSX 10.8.2 gives compile errors

2012-12-04 Thread Nigel Smith
I thought I'd have a run at using watir-classic as well, but get some 
compile errors. It looks like its trying to build the win32-api native 
extensions, on OSX:

Fetching: ffi-1.2.0.gem (100%)
Building native extensions.  This could take a while...
Fetching: win32-process-0.7.0.gem (100%)
Fetching: win32-api-1.4.8.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing watir-classic:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-1.9.3-p327/bin/ruby extconf.rb
checking for strncpy_s()... no
creating Makefile

make
compiling win32/api.c
win32/api.c:2:21: error: windows.h: No such file or directory
win32/api.c:33: error: expected specifier-qualifier-list before ‘HANDLE’
etc.

It looks like there might be a bug in the build or dependency spec - what 
do you think?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Installing watir-classic on OSX 10.8.2 gives compile errors

2012-12-04 Thread Željko Filipin
On Tue, Dec 4, 2012 at 9:59 AM, Nigel Smith nachosm...@gmail.com wrote:
 I thought I'd have a run at using watir-classic as well, but get some
compile errors. It looks like its trying to build the win32-api native
extensions, on OSX:

Why are you trying to install watir-classic on OSX? Watir-classic drives IE
on Windows.

Željko
--
https://leanpub.com/watirbook

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Installing watir-classic on OSX 10.8.2 gives compile errors

2012-12-04 Thread Nigel Smith
LOL - thanks for setting me straight - I had no idea. 

To answer your question: to see if I can get around the issue I'm having 
with watir-webdriver atm. I can't get click() to work on certain elements. 
I've tried using fire_event as a workaround, which has other side-effects.

This was the subject of other thread I had posted tonight. It contains a 
little more detail.


 Tuesday, December 4, 2012 8:10:59 PM UTC+10, Željko Filipin wrote:

 On Tue, Dec 4, 2012 at 9:59 AM, Nigel Smith nacho...@gmail.comjavascript: 
 wrote:
  I thought I'd have a run at using watir-classic as well, but get some 
 compile errors. It looks like its trying to build the win32-api native 
 extensions, on OSX:

 Why are you trying to install watir-classic on OSX? Watir-classic drives 
 IE on Windows.

 Željko
 --
 https://leanpub.com/watirbook 


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Installing watir-classic on OSX 10.8.2 gives compile errors

2012-12-04 Thread Željko Filipin
On Tue, Dec 4, 2012 at 1:07 PM, Nigel Smith nachosm...@gmail.com wrote:

 This was the subject of other thread I had posted tonight. It contains a
 little more detail.


I have replied there.

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com