Hi all, I''d really appreciate some help with this... As you see below, I tried to install mongrel after updating my gems, but I get the error shown: sudo gem install mongrel Select which gem to install for your platform (i486-linux) 1. mongrel 1.0.1 (ruby) 2. mongrel 1.0.1 (mswin32) 3. mongrel 1.0 (mswin32) 4. mongrel 1.0 (ruby) 5. Skip this gem 6. Cancel installation> 1Install required dependency fastthread? [Yn] Select which gem to install for your platform (i486-linux) 1. fastthread 1.0 (ruby) 2. fastthread 1.0 (mswin32) 3. fastthread 0.6.4.1 (mswin32) 4. fastthread 0.6.4.1 (ruby) 5. Skip this gem 6. Cancel installation> 1Building 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 mongrel extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) from extconf.rb:1 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fastthread- 1.0 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/fastthread-1.0 /ext/fastthread/gem_make.out Please help! Regards, Isaac -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070430/b5ca5af3/attachment.html
On 4/29/07, Isaac <zack99 at gmail.com> wrote:> Hi all, > I''d really appreciate some help with this... > > As you see below, I tried to install mongrel after updating my gems, but I > get the error shown: > > sudo gem install mongrel > Select which gem to install for your platform (i486-linux) > 1. mongrel 1.0.1 (ruby) > 2. mongrel 1.0.1 (mswin32) > 3. mongrel 1.0 (mswin32) > 4. mongrel 1.0 (ruby) > 5. Skip this gem > 6. Cancel installation > > 1 > Install required dependency fastthread? [Yn] > Select which gem to install for your platform (i486-linux) > 1. fastthread 1.0 (ruby) > 2. fastthread 1.0 (mswin32) > 3. fastthread 0.6.4.1 (mswin32) > 4. fastthread 0.6.4.1 (ruby) > 5. Skip this gem > 6. Cancel installation > > 1 > 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 mongrel > extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) > from extconf.rb:1 > >It looks like you have a broken ruby installation. Debian? try doing: ruby -w -rubygems -e ''require "mkmf"'' and post the log here. But I could bet you''re missing build environment :-)> > Please help! > Regards, > Isaac >Regards, -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi
On Apr 29, 2007, at 8:05 PM, Luis Lavena wrote:> On 4/29/07, Isaac <zack99 at gmail.com> wrote: >> extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) >> from extconf.rb:1its most likely an ubuntu system that needs to have ruby-dev installed. don
Hi, Close: Ubuntu Here''s what that particular command returns... ruby -w -rubygems -e ''require "mkmf"'' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- mkmf (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from -e:1 -Isaac On 4/30/07, Luis Lavena <luislavena at gmail.com> wrote:> > On 4/29/07, Isaac <zack99 at gmail.com> wrote: > > Hi all, > > I''d really appreciate some help with this... > > > > As you see below, I tried to install mongrel after updating my gems, but > I > > get the error shown: > > > > sudo gem install mongrel > > Select which gem to install for your platform (i486-linux) > > 1. mongrel 1.0.1 (ruby) > > 2. mongrel 1.0.1 (mswin32) > > 3. mongrel 1.0 (mswin32) > > 4. mongrel 1.0 (ruby) > > 5. Skip this gem > > 6. Cancel installation > > > 1 > > Install required dependency fastthread? [Yn] > > Select which gem to install for your platform (i486-linux) > > 1. fastthread 1.0 (ruby) > > 2. fastthread 1.0 (mswin32) > > 3. fastthread 0.6.4.1 (mswin32) > > 4. fastthread 0.6.4.1 (ruby) > > 5. Skip this gem > > 6. Cancel installation > > > 1 > > 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 mongrel > > extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) > > from extconf.rb:1 > > > > > > It looks like you have a broken ruby installation. > > Debian? try doing: > > ruby -w -rubygems -e ''require "mkmf"'' > > and post the log here. > > But I could bet you''re missing build environment :-) > > > > > Please help! > > Regards, > > Isaac > > > > Regards, > > -- > Luis Lavena > Multimedia systems > - > Leaders are made, they are not born. They are made by hard effort, > which is the price which all of us must pay to achieve any goal that > is worthwhile. > Vince Lombardi > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070430/09a0f594/attachment-0001.html
On 4/30/07, Isaac <zack99 at gmail.com> wrote:> Hi, > Close: Ubuntu >Oh, ok, you willl need: apt-get build-essential, ruby-1.8dev, errr... guess thats all? (bear with me, I''m a windows guy :-) More info that could be useful: http://sas.sparklingstudios.com/articles/read/install-mongrel-on-ubuntu-6-06-dapper Regards, -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi
Thanks Don, Luis, worked like a charm :D On 4/30/07, Don Park <don at jibjab.net> wrote:> > > On Apr 29, 2007, at 8:05 PM, Luis Lavena wrote: > > On 4/29/07, Isaac <zack99 at gmail.com> wrote: > >> extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) > >> from extconf.rb:1 > > its most likely an ubuntu system that needs to have ruby-dev installed. > don > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070430/9f310910/attachment.html