From: Doug Glidden <41mortimer@...> Date: 2008-08-29T09:48:22+09:00 Subject: missing header stdio.h??? (when updating hpricot gem) I just ran 'gem update' this evening, and during the update for hpricot, I got a rather surprising error. Here's the complete output from gem: ----- Updating installed gems Updating hpricot Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. d:/ruby/bin/ruby.exe extconf.rb update hpricot checking for stdio.h... no *** 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 --srcdir=. --curdir --ruby=d:/ruby/bin/ruby Gem files will remain installed in d:/ruby/lib/ruby/gems/1.8/gems/hpricot-0.6.161 for inspection. Results logged to d:/ruby/lib/ruby/gems/1.8/gems/hpricot-0.6.161/ext/fast_xs/gem_make.out ----- Neither mkmf.log nor gem_make.out contains any additional helpful information. This only seems to happen with hpricot (I have manually updated other gems successfully). It sounds like there might be a lib missing from the distribution of hpricot. I don't actually use that gem at present, so it's not critical, but it piqued my interest, and it's slightly annoying because gem aborts immediately instead of attempting to update the other gems. - Doug -- Posted via http://www.ruby-forum.com/.