From: Xeno Campanoli Date: 2007-07-19T07:32:47+09:00 Subject: Re: hpricot won't install on Ubuntu and complains because mkmf.rb is missing snowy@schneeweis.at wrote: > On 6 Jul., 21:20, Xeno Campanoli wrote: I think the resolution was installing ruby1.8-dev: > xeno@radioflyer:~$ apt-cache policy ruby1.8-dev > ruby1.8-dev: > Installed: 1.8.5-4ubuntu2 > Candidate: 1.8.5-4ubuntu2 > Version table: > *** 1.8.5-4ubuntu2 0 > 500 http://archive.ubuntu.com feisty/main Packages > 100 /var/lib/dpkg/status xc >> ... >> 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:1:in `require': no such file to load -- mkmf (LoadError) >> from extconf.rb:1 > > I got a similar error when I tried to install mongreal with > > # gem install mongrel > > In another tutorial I found the advice to download the ruby sources > > # apt-get install ruby1.8-dev build-essential > > After I did that I had no problems to install mongreal. > Maybe you have the same problem? > > Martin > > > -- The only sustainable organizing methods focus not on scale, but on good design of the functional unit, not on winning battles, but on preservation.