[Mongrel] mongrel and fastthread on ruby 1.9?

Evan Weaver
Sun, 18 Nov 2007 07:31:15 -0000

No, we are not. Fastthread will almost certainly not work.

Evented Mongrel might have a better chance at working smoothly because
of all the threading changes.

Evan

On Nov 18, 2007 1:12 AM, Stephen Bannasch
<stephen.bannasch at deanbrook.org> wrote:
> Is anybody testing mongrel on ruby 1.9. I just tried installing
> mongrel on trunk 1.9 and trunk rubygems and got this error compiling
> fastthread:
>
> /Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel
--no-rdoc
> creating Makefile
>
> make
> gcc -I.
> -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1
> -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.  -fno-common
> -g -O2  -fno-common -pipe -fno-common  -c fastthread.c
> fastthread.c:13:20: error: intern.h: No such file or directory
> fastthread.c:349: error: static declaration of
''rb_mutex_locked_p''
> follows non-static declaration
> /Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/ruby/intern.h:553:
> error: previous declaration of ''rb_mutex_locked_p'' was
here
> fastthread.c:366: error: static declaration of
''rb_mutex_try_lock''
> follows non-static declaration
> /Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/ruby/intern.h:554:
> error: previous declaration of ''rb_mutex_try_lock'' was
here
> fastthread.c:406: error: static declaration of
''rb_mutex_lock''
> follows non-static declaration
> /Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/ruby/intern.h:555:
> error: previous declaration of ''rb_mutex_lock'' was here
> fastthread.c:463: error: static declaration of
''rb_mutex_unlock''
> follows non-static declaration
> /Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/ruby/intern.h:556:
> error: previous declaration of ''rb_mutex_unlock'' was here
> fastthread.c:524: error: static declaration of
''rb_mutex_synchronize''
> follows non-static declaration
> /Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/ruby/intern.h:558:
> error: previous declaration of ''rb_mutex_synchronize'' was
here
> fastthread.c: In function ''wait_condvar'':
> fastthread.c:626: warning: passing argument 1 of
''rb_ensure'' from
> incompatible pointer type
> make: *** [fastthread.o] Error 1
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>



--
Evan Weaver
Cloudburst, LLC