gem install watir Building native extensions. This could take a while... ERROR: Error installing watir: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ ruby extconf.rb checking for strncpy_s()... no creating Makefile make gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/ usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE - D_DARWIN_C_SOURCE -fno-common -arch i386 -arch x86_64 -g -Os -pipe - fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -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: ##### lots of win32/api.c ## lots of error messages lipo: can't open input file: /var/tmp//ccBAzUI9.out (No such file or directory) make: *** [api.o] Error 1 Any idea, what is missing here? -- 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