sudo gem install firewatir
sudo gem install safariwatir

On Oct 6, 1:28 pm, QAguy <qablogm...@gmail.com> wrote:
> When I try to install the watir gem on the mac I am getting the
> following:
>
> host73:watir_site_regression employee$ sudo gem install watir --
> include-dependencies
> INFO:  `gem install -y` is now default and will be removed
> INFO:  use --ignore-dependencies to install only the gems you list
> Building native extensions.  This could take a while...
> ERROR:  Error installing watir:
>         ERROR: Failed to build gem native extension.
>
> /opt/local/bin/ruby extconf.rb
> checking for strncpy_s()... no
> creating Makefile
>
> make
> /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -
> I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/
> include -fno-common -O2 -arch x86_64  -fno-common -pipe -fno-common  -
> arch x86_64 -c 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’
> win32/api.c: In function ‘api_free’:
> win32/api.c:40: error: ‘Win32API’ has no member named ‘library’
> win32/api.c:41: error: ‘Win32API’ has no member named ‘library’
> win32/api.c: At top level:
> win32/api.c:58: error: expected ‘)’ before ‘dwError’
> win32/api.c: In function ‘callback_init’:
> win32/api.c:186: error: ‘LPARAM’ undeclared (first use in this
> function)
> win32/api.c:186: error: (Each undeclared identifier is reported only
> once
> win32/api.c:186: error: for each function it appears in.)
> win32/api.c:186: error: expected ‘)’ before ‘find_callback’
> win32/api.c: In function ‘api_init’:
> win32/api.c:233: error: ‘HMODULE’ undeclared (first use in this
> function)
> win32/api.c:233: error: expected ‘;’ before ‘hLibrary’
> win32/api.c:234: error: ‘FARPROC’ undeclared (first use in this
> function)
> win32/api.c:234: error: expected ‘;’ before ‘fProc’
> win32/api.c:270: error: ‘hLibrary’ undeclared (first use in this
> function)
> win32/api.c:280: error: ‘Win32API’ has no member named ‘library’
> win32/api.c:287: error: ‘fProc’ undeclared (first use in this
> function)
> win32/api.c:330: error: ‘Win32API’ has no member named ‘function’
> win32/api.c:338: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:341: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:344: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:347: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:350: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:353: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:367: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:373: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:376: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:379: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:382: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:385: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c: In function ‘func_init’:
> win32/api.c:456: error: ‘Win32API’ has no member named ‘function’
> win32/api.c:456: error: ‘FARPROC’ undeclared (first use in this
> function)
> win32/api.c:464: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:467: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:470: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:473: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:476: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:479: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:493: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:499: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:502: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:505: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:508: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:511: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c: At top level:
> win32/api.c:528: error: expected specifier-qualifier-list before
> ‘DWORD’
> win32/api.c:532: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CallbackFunction’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:691: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘CALLBACK’
> win32/api.c:702: error: ‘CallbackFunction0_0’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_1’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_2’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_3’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_4’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_5’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_6’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_7’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_8’ undeclared here (not in
> a function)
> win32/api.c:702: error: ‘CallbackFunction0_9’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_0’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_1’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_2’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_3’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_4’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_5’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_6’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_7’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_8’ undeclared here (not in
> a function)
> win32/api.c:703: error: ‘CallbackFunction1_9’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_0’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_1’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_2’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_3’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_4’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_5’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_6’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_7’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_8’ undeclared here (not in
> a function)
> win32/api.c:704: error: ‘CallbackFunction2_9’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_0’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_1’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_2’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_3’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_4’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_5’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_6’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_7’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_8’ undeclared here (not in
> a function)
> win32/api.c:705: error: ‘CallbackFunction3_9’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_0’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_1’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_2’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_3’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_4’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_5’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_6’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_7’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_8’ undeclared here (not in
> a function)
> win32/api.c:706: error: ‘CallbackFunction4_9’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_0’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_1’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_2’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_3’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_4’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_5’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_6’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_7’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_8’ undeclared here (not in
> a function)
> win32/api.c:707: error: ‘CallbackFunction5_9’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_0’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_1’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_2’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_3’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_4’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_5’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_6’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_7’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_8’ undeclared here (not in
> a function)
> win32/api.c:708: error: ‘CallbackFunction6_9’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_0’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_1’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_2’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_3’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_4’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_5’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_6’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_7’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_8’ undeclared here (not in
> a function)
> win32/api.c:709: error: ‘CallbackFunction7_9’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_0’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_1’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_2’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_3’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_4’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_5’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_6’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_7’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_8’ undeclared here (not in
> a function)
> win32/api.c:710: error: ‘CallbackFunction8_9’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_0’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_1’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_2’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_3’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_4’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_5’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_6’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_7’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_8’ undeclared here (not in
> a function)
> win32/api.c:711: error: ‘CallbackFunction9_9’ undeclared here (not in
> a function)
> win32/api.c: In function ‘api_call’:
> win32/api.c:780: error: ‘TRUE’ undeclared (first use in this function)
> win32/api.c:782: error: ‘FALSE’ undeclared (first use in this
> function)
> win32/api.c:784: error: ‘Win32API’ has no member named ‘prototype’
> win32/api.c:804: error: ‘LPARAM’ undeclared (first use in this
> function)
> win32/api.c:804: error: expected ‘;’ before ‘rb_num2ulong’
> win32/api.c:815: error: ‘Win32API’ has no member named ‘function’
> win32/api.c:821: error: ‘Win32API’ has no member named ‘return_type’
> win32/api.c:840: error: ‘TCHAR’ undeclared (first use in this
> function)
> win32/api.c:840: error: expected expression before ‘)’ token
> win32/api.c:842: error: too few arguments to function ‘rb_str_new’
> win32/api.c:845: error: expected expression before ‘)’ token
> win32/api.c:856: error: expected expression before ‘)’ token
> win32/api.c:858: error: too few arguments to function ‘rb_str_new’
> win32/api.c:861: error: expected expression before ‘)’ token
> make: *** [api.o] Error 1
>
> Gem files will remain installed in /opt/local/lib/ruby/gems/1.8/gems/
> win32-api-1.4.5 for inspection.
> Results logged to /opt/local/lib/ruby/gems/1.8/gems/win32-api-1.4.5/
> ext/gem_make.out
>
> I have also tried sudo gem install watir. Same results. I have already
> installed safariwatir and firewatir without issue. I am running snow
> leopard.
>
> Any help appericated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to