ruby - I am unable to install selenium webdriver on mac -
ennas-macbook-pro:all_tests jholland$ sudo gem install selenium-webdriver building native extensions. take while... error: error installing selenium-webdriver: error: failed build gem native extension.
/users/jholland/.rvm/rubies/ruby-2.0.0-p451/bin/ruby extconf.rb checking ffi.h... *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. 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=/users/jholland/.rvm/rubies/ruby-2.0.0-p451/bin/ruby --with-ffi_c-dir --without-ffi_c-dir --with-ffi_c-include --without-ffi_c-include=${ffi_c-dir}/include --with-ffi_c-lib --without-ffi_c-lib=${ffi_c-dir}/ --with-libffi-config --without-libffi-config --with-pkg-config --without-pkg-config /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:434:in `try_do': compiler failed generate executable file. (runtimeerror) have install development tools first. /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:565:in `try_cpp' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:1044:in `block in have_header' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:895:in `block in checking_for' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:340:in `block (2 levels) in postpone' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:310:in `open' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:340:in `block in postpone' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:310:in `open' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:336:in `postpone' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:894:in `checking_for' /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/mkmf.rb:1043:in `have_header' extconf.rb:16:in `<main>' extconf failed, exit code 1 gem files remain installed in /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/gems/2.0.0/gems/ffi-1.9.3 inspection. results logged /users/jholland/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/gems/2.0.0/extensions/x86_64-darwin-12/2.0.0-static/ffi-1.9.3/gem_make.out
i using mac mavericks 10.9.1 , have updated ruby 2.0.0 p451 v. stuck right
Comments
Post a Comment