mod_ruby 1.2.4 and Apache 2.2

Oded Arbel <[email protected]> Sun, 1 Jan 2006 16:30:50 +0200
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi list.

Recently I upgrade my apache to 2.2, and since then mod_ruby stoped working. When apache loads is complains:

Starting httpd: httpd: Syntax error on line 251 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/modules.d/20_mod_ruby.conf: API module structure `ruby_module' in file /etc/httpd/extramodules/mod_ruby.so is garbled - perhaps this is not an Apache module DSO?

I assumed that the binary interface probably changed with 2.2, so I decided to recompile mod_ruby. With the new Apache (after solving some minor build problems with apxs), I get this error during compile:

mod_ruby.c:151: warning: missing braces around initializer
mod_ruby.c:151: warning: (near initialization for ‘ruby_cmds[0].func’)
mod_ruby.c:151: warning: initialization from incompatible pointer type
[lots of lines like this snipped]
mod_ruby.c:195: warning: initialization from incompatible pointer type
mod_ruby.c: In function ‘fake_request_rec’:
mod_ruby.c:822: warning: implicit declaration of function ‘ap_pcalloc’
mod_ruby.c: In function ‘ruby_child_init’:
mod_ruby.c:892: warning: implicit declaration of function ‘ap_register_cleanup’
mod_ruby.c:892: error: ‘ap_null_cleanup’ undeclared (first use in this function)
mod_ruby.c:892: error: (Each undeclared identifier is reported only once
mod_ruby.c:892: error: for each function it appears in.)
mod_ruby.c: In function ‘mod_ruby_clearenv’:
mod_ruby.c:904: warning: implicit declaration of function ‘ap_make_array’
mod_ruby.c:904: warning: initialization makes pointer from integer without a cast
mod_ruby.c:911: warning: implicit declaration of function ‘ap_push_array’
mod_ruby.c:911: warning: implicit declaration of function ‘ap_pstrndup’
mod_ruby.c:911: warning: assignment makes pointer from integer without a cast
mod_ruby.c: In function ‘setenv_from_table’:
mod_ruby.c:941: warning: implicit declaration of function ‘ap_table_elts’
mod_ruby.c:941: warning: assignment makes pointer from integer without a cast
mod_ruby.c: In function ‘ruby_handler’:
mod_ruby.c:1203: warning: implicit declaration of function ‘ap_palloc’
mod_ruby.c:1203: warning: assignment makes pointer from integer without a cast
mod_ruby.c: In function ‘ruby_post_read_request_handler’:
mod_ruby.c:1351: error: ‘ap_null_cleanup’ undeclared (first use in this function)
mod_ruby.c:1356: warning: implicit declaration of function ‘ap_table_set’
make: *** [mod_ruby.o] Error 1

From this I understand that there has been changes in the source API as well - so I wanted to ask: 
what are the plans for releasing a new version of mod_ruby for apache 2.2 ?

TIA

-- 
Oded

::..
Everything that you know is wrong, but you can be straightened out.