[Mongrel] mongrel and fastthread on ruby 1.9?

Stephen Bannasch stephen.bannasch at deanbrook.org
Sun Nov 18 01:12:58 EST 2007


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


More information about the Mongrel-users mailing list