[Mongrel] mongrel and fastthread on ruby 1.9?

Luis Lavena luislavena at gmail.com
Sun Nov 18 12:53:21 EST 2007


On Nov 18, 2007 3: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
>



-- 
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


More information about the Mongrel-users mailing list