Advertisement

02.11.2008 at 08:57AM PST, ID: 23153524
[x]
Attachment Details

Error when installing Mongrel Gem - ERROR: Failed to build gem native extension.

Asked by smetterd in Ruby Scripting Language, Web Servers, Scripting Languages

dallasray@justis:~$ sudo gem install mongrel mongrel_rails
Select which gem to install for your platform (i486-linux)
 1. mongrel 1.1.3 (java)
 2. mongrel 1.1.3 (i386-mswin32)
 3. mongrel 1.1.3 (ruby)
 4. mongrel 1.1.2 (ruby)
 5. mongrel 1.1.2 (mswin32)
 6. mongrel 1.1.2 (java)
 7. Skip this gem
 8. Cancel installation
> 4
Install required dependency fastthread? [Yn]  y
Select which gem to install for your platform (i486-linux)
 1. fastthread 1.0.1 (mswin32)
 2. fastthread 1.0.1 (ruby)
 3. Skip this gem
 4. Cancel installation
> 2
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 mongrel_rails
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
        from extconf.rb:1


Gem files will remain installed in /var/lib/gems/1.8/gems/fastthread-1.0.1 for inspection.
Results logged to /var/lib/gems/1.8/gems/fastthread-1.0.1/ext/fastthread/gem_make.out
dallasray@justis:~$

Start Free Trial
[+][-]02.11.2008 at 09:29AM PST, ID: 20868207

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.11.2008 at 04:30PM PST, ID: 20871666

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Ruby Scripting Language, Web Servers, Scripting Languages
Sign Up Now!
Solution Provided By: dberner9
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.12.2008 at 05:49AM PST, ID: 20874629

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628