[Mono-list] mod_mono install troubles

Luke Stephenson lstephenson@rogers.com
Thu, 15 Jan 2004 01:12:07 -0500


I had a similar problem, for me it was that both 
#include <mpm.h>
#include <apr.h>
Were on the same line, I ended up editing (adding a line break) configure,
and configure.in to fix it

Hope this helps,

Luke Stephenson
LSCS
Computer Systems Engineering
lstephenson@rogers.com	  
 	 
-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Steve Deobald
Sent: Tuesday, February 10, 2004 12:16 AM
To: mono-list@lists.ximian.com
Subject: [Mono-list] mod_mono install troubles

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.

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list