From: Axel Etzold Date: 2008-08-31T04:34:07+09:00 Subject: Re: missing header stdio.h??? (when updating hpricot gem) -------- Original-Nachricht -------- > Datum: Fri, 29 Aug 2008 09:48:22 +0900 > Von: Doug Glidden <41mortimer@gmail.com> > An: ruby-talk@ruby-lang.org > Betreff: 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/. See here: http://www.ruby-forum.com/topic/162379#new (last post). Best regards, Axel -- GMX Kostenlose Spiele: Einfach online spielen und Spa� haben mit Pastry Passion! http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196