well I'd say the first thing you are doing wrong, is asking a Selenium question in a group full of people that mostly use a different tool (Watir) and for the most part have little knowledge of Selenium.
Your odds of getting a good answer to why you can't compile that gem would be a lot higher if you asked them in a Selenium oriented group On Jul 17, 11:07 am, Linux_cat <[email protected]> wrote: > i was wondering if anyone can help i have installed the libffi using > port but i get the following when i try to install webdriver: > > shorts-pc:~ sarndeepnijjar$ sudo gem install selenium-webdriver > Building native extensions. This could take a while... > ERROR: Error installing selenium-webdriver: > ERROR: Failed to build gem native extension. > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > extconf.rb > checking for ffi_call() in -lffi... no > checking for ffi_raw_call()... no > checking for rb_thread_blocking_region()... no > creating extconf.h > creating Makefile > > make > Configuring libffi for rch > configure: WARNING: If you wanted to set the --build type, don't use -- > host. > If a cross compiler is detected then cross compile mode will be > used. > Invalid configuration `rch-apple-darwin': machine `rch-apple' not > recognized > configure: error: /bin/sh /Library/Ruby/Gems/1.8/gems/ffi-0.6.3/ext/ > ffi_c/libffi/config.sub rch-apple-darwin failed > make[1]: *** No targets specified and no makefile found. Stop. > Configuring libffi for rch > configure: WARNING: If you wanted to set the --build type, don't use -- > host. > If a cross compiler is detected then cross compile mode will be > used. > Invalid configuration `rch-apple-darwin': machine `rch-apple' not > recognized > configure: error: /bin/sh /Library/Ruby/Gems/1.8/gems/ffi-0.6.3/ext/ > ffi_c/libffi/config.sub rch-apple-darwin failed > make[1]: *** No targets specified and no makefile found. Stop. > make: *** [/Library/Ruby/Gems/1.8/gems/ffi-0.6.3/ext/ffi_c/ > libffi/.libs/libffi_convenience.a] Error 2 > > anyone know what i could be doing wrong? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
