Re: [Mongrel] ERROR: Failed to build gem native extension.

2010-12-02 Thread Luis Lavena
On Thu, Dec 2, 2010 at 9:48 PM, Luis Flores
luis.fernando.flores.ovi...@gmail.com wrote:
 Hello, I am currently not able to instal mongrel, I run a Linux Ubuntu 10.04
 system with Gems 1.3.7 when I do a sudo gem install mongrel I get this
 sequence of messages:

[SNIP]

 $ sudo gem install mongrel
 gcc -I. -I/usr/local/include/ruby-1.9.1/i686-linux
 -I/usr/local/include/ruby-1.9.1/ruby/backward
 -I/usr/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb
 -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith
 -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -o http11.o
 -c http11.c
 /usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.1.5/ext/http11/gem_make.out

 Would you please help me?

Mongrel 1.1.5 is not compatible with Ruby 1.9.x

You need to install the pre-release version:

gem install mongrel --pre
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users


Re: [Mongrel] ERROR: Failed to build gem native extension.

2007-04-29 Thread Luis Lavena
On 4/29/07, Isaac [EMAIL PROTECTED] 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@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users


Re: [Mongrel] ERROR: Failed to build gem native extension.

2007-04-29 Thread Luis Lavena
On 4/30/07, Isaac [EMAIL PROTECTED] 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
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users


Re: [Mongrel] ERROR: Failed to build gem native extension.

2007-04-29 Thread Don Park

On Apr 29, 2007, at 8:05 PM, Luis Lavena wrote:
 On 4/29/07, Isaac [EMAIL PROTECTED] 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@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users


Re: [Mongrel] ERROR: Failed to build gem native extension.

2007-04-29 Thread Isaac

Thanks Don, Luis, worked like a charm :D



On 4/30/07, Don Park [EMAIL PROTECTED] wrote:



On Apr 29, 2007, at 8:05 PM, Luis Lavena wrote:
 On 4/29/07, Isaac [EMAIL PROTECTED] 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@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users