[Mono-list] Re: getting and compiling mod_mono
David Wright
ichbin@shadlen.org
Sat, 05 Jul 2003 17:00:09 -0700
> No problem with this. I compiled and installed mod_mono on debian
> sid too.
Thanks. I got mod_mono from CVS, but the compiling is turning out to not
be so simple.
First, the INSTALL instructions say to ./configure, but there is no
configure file in mod_mono/. (There is a non-executable configure.in,
but if I try to make it executable and use it, it returns a syntax error.)
Okay, so I'll try it by hand. I enter
apxs2 -c src/mod_mono.c
and find out that it can't find some header files it wants from the mono
directory.
Okay, so I have to get mono from CVS too (I use the compiled binaries
from http://www.debianplanet.org/mono, so I didn't have it already). Do
that, enter
apxs2 -I ~/mono -c src/mod_mono.c
Now it finds the header files it wants, but it gives a flood of errors,
starting with:
/home/ichbin/mono/mono/io-layer/types.h:19: error:
syntax error before "guint32"
I look in that file, and the construction there is indeed strange (a
struct inside a union), but I can't see anything wrong with it.
I'm stuck. Is this a mono bug, a gcc bug, or a me bug?