« Return to Thread: Problems installing mongrel in Ruby 1.9.1 on Mac OS

Re: Problems installing mongrel in Ruby 1.9.1 on Mac OS

by Ami-9 :: Rate this Message:

Reply to Author | View in Thread


Hi
check the instructions on my blog
rubynyc.wordpress.com it has many other gems fixes for 1.9.1

you can install thin server, but you won't be able to see the log like
in mongrel
you will lose the debugger, since its not compatible with 1.9 yet

Ami Mahloof

On Jul 9, 8:55 am, Guillermo Acilu <x2ra...@...> wrote:

> Hello guys,
>
> When I run ³gem install mongrel², I get the following error:
>
> Building native extensions.  This could take a while...
> ERROR:  Error installing mongrel:
>     ERROR: Failed to build gem native extension.
>
> /usr/local/bin/ruby extconf.rb
> checking for main() in -lc... yes
> creating Makefile
>
> make
> gcc -I. -I/usr/local/include/ruby-1.9.1/i386-darwin9.7.0
> -I/usr/local/include/ruby-1.9.1/ruby/backward
> -I/usr/local/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
> -fno-common -D_XOPEN_SOURCE=1 -O2 -g -Wall -Wno-parentheses  -fno-common
> -pipe -fno-common  -o http11.o -c http11.c
> http11.c: In function Œhttp_field¹:
> http11.c:77: error: Œstruct RString¹ has no member named Œptr¹
> http11.c:77: error: Œstruct RString¹ has no member named Œlen¹
> http11.c:77: warning: left-hand operand of comma expression has no effect
> http11.c:77: warning: statement with no effect
> http11.c: In function Œheader_done¹:
> http11.c:172: error: Œstruct RString¹ has no member named Œptr¹
> http11.c:174: error: Œstruct RString¹ has no member named Œptr¹
> http11.c:176: error: Œstruct RString¹ has no member named Œptr¹
> http11.c:177: error: Œstruct RString¹ has no member named Œlen¹
> http11.c: In function ŒHttpParser_execute¹:
> http11.c:298: error: Œstruct RString¹ has no member named Œptr¹
> http11.c:299: error: Œstruct RString¹ has no member named Œlen¹
> make: *** [http11.o] Error 1
>
> Any ideas why?
>
> The rest of the gems install ok.
>
> I am using Ruby 1.9.1 on Mac OS 10.5.7.
>
> Thanks,
>
> GA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Problems installing mongrel in Ruby 1.9.1 on Mac OS