Eric Hodel wrote: > On Jun 2, 2009, at 12:21, Nabs Kahn wrote: > >> I am trying to install Mechanize on a WinXP machine, and I am getting >> this error: >> >> ERROR: Failed to build gem native extension >> >> ruby extconf.rb install mechanize >> extconf.rb:3:in ``': No such file or directory - uname -p >> (Errno::ENOENT) from extconf.rb:3 > > What was the full error? C:\Documents and Settings\Nabs>gem install mechanize Install required dependency nokogiri? [Yn] y Select which gem to install for your platform (i386-mswin32) 1. nokogiri 1.3.0 (x86-mingw32) 2. nokogiri 1.3.0 (x86-mswin32) 3. nokogiri 1.3.0 (java) 4. nokogiri 1.3.0 (ruby) 5. Skip this gem 6. Cancel installation > 2 Install required dependency racc? [Yn] y Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. ruby extconf.rb install mechanize extconf.rb:3:in ``': No such file or directory - uname -p (Errno::ENOENT) from extconf.rb:3 Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/racc-1.4.6 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/racc-1.4.6/ext/racc/cparse/gem_ make.out -- Posted via http://www.ruby-forum.com/.