Running Ruby 1.9.2-head on OSX 10.6.3 under RVM, gem update works fine
for other gems (say Bundler, which was detected as having an update in
the same run) but Cucumber and Cucumber-Rails get this:
rvm gem upd
ruby-1.9.2-head: ruby 1.9.2dev (2010-04-23 trunk 27452) [i386-
darwin9.8.0]
Updating installed gems
Updating cucumber
Building native extensions. This could take a while...
ERROR: Error installing cucumber:
ERROR: Failed to build gem native extension.
/Users/xxx/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
checking for main() in -lc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You 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/xxx/.rvm/rubies/ruby-1.9.2-head/bin/ruby
--with-gherkin_lexer_ar-dir
--without-gherkin_lexer_ar-dir
--with-gherkin_lexer_ar-include
--without-gherkin_lexer_ar-include=${gherkin_lexer_ar-dir}/
include
--with-gherkin_lexer_ar-lib
--without-gherkin_lexer_ar-lib=${gherkin_lexer_ar-dir}/lib
--with-clib
--without-clib
/Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:368:in
`try_do': The complier failed to generate an executable file.
(RuntimeError)
You have to install development tools first.
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:435:in `try_link0'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:440:in `try_link'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:552:in `try_func'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:748:in `block in have_library'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:693:in `block in checking_for'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:280:in `block (2 levels) in postpone'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:254:in `open'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:280:in `block in postpone'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:254:in `open'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:276:in `postpone'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:692:in `checking_for'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:743:in `have_library'
from extconf.rb:5:in `<main>'
Gem files will remain installed in /Users/xxx/.rvm/gems/ruby-1.9.2-
head/gems/gherkin-1.0.24 for inspection.
Results logged to /Users/xxx/.rvm/gems/ruby-1.9.2-head/gems/
gherkin-1.0.24/ext/gherkin_lexer_ar/gem_make.out
Updating cucumber-rails
Building native extensions. This could take a while...
ERROR: Error installing cucumber-rails:
ERROR: Failed to build gem native extension.
/Users/xxx/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
checking for main() in -lc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You 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/xxx/.rvm/rubies/ruby-1.9.2-head/bin/ruby
--with-gherkin_lexer_ar-dir
--without-gherkin_lexer_ar-dir
--with-gherkin_lexer_ar-include
--without-gherkin_lexer_ar-include=${gherkin_lexer_ar-dir}/
include
--with-gherkin_lexer_ar-lib
--without-gherkin_lexer_ar-lib=${gherkin_lexer_ar-dir}/lib
--with-clib
--without-clib
/Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:368:in
`try_do': The complier failed to generate an executable file.
(RuntimeError)
You have to install development tools first.
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:435:in `try_link0'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:440:in `try_link'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:552:in `try_func'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:748:in `block in have_library'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:693:in `block in checking_for'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:280:in `block (2 levels) in postpone'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:254:in `open'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:280:in `block in postpone'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:254:in `open'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:276:in `postpone'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:692:in `checking_for'
from /Users/xxx/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/
mkmf.rb:743:in `have_library'
from extconf.rb:5:in `<main>'
Gem files will remain installed in /Users/xxx/.rvm/gems/ruby-1.9.2-
head/gems/gherkin-1.0.24 for inspection.
Results logged to /Users/xxx/.rvm/gems/ruby-1.9.2-head/gems/
gherkin-1.0.24/ext/gherkin_lexer_ar/gem_make.out
Nothing to update
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to
cu...@googlegroups.com.
To unsubscribe from this group, send email to
cukes+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cukes?hl=en.