[Mono-list] mod_mono install troubles

Steve Deobald steve@citygroup.ca
Mon, 09 Feb 2004 23:16:12 -0600


Hey everybody,

I'm running a Debian-sid server and having some serious difficulty
getting mod_mono installed. First off, I grabbed all of the mono
packages from the SID package tree (0.29.99) and mod_mono/xsp from
go-mono.com. The SID packages and xsp worked well, mod_mono did not. The
end of a `./configure' informs me I'm running Apache 1.3, which is
wrong.

Fighting with this for a while led me to asking many questions in #mono
and picking apart `configure' with some help. I found that configure
attempts to compile the following code:

#include <mpm.h>
#include <apr.h>
int main ()
{
	apr_byte_t b;
	;
	return 0;
}

After updating to a cvs version of mono on a recommendation, I attempted
to compile this with `gcc test_mod.c -I/usr/include/apache2 
-I/usr/include/apr-0' and got this back:

In file included from /usr/include/apache2/mpm.h:58,
                 from test_mod.c:1:
/usr/include/apache2/scoreboard.h:153: error: field `times' has
incomplete type
/usr/include/apache2/scoreboard.h:194: error: parse error before
"request_rec"
/usr/include/apache2/scoreboard.h:206: error: parse error before
"request_rec"
/usr/include/apache2/scoreboard.h:208: error: parse error before
"request_rec"

...at this point I figure I'm in over my head and I'm doing more work
than is necessary. (Usually the case.)

If anyone has any recommendations, I'd love to hear you. Thanks.

.steve

PS: I'm pretty much in #mono 24/7, so I can meet in there if anyone is
patient enough to go through this with me.