[Mono-osx] Trying to build mod_mono in Leopard 10.5.7

darreld darreld at gmail.com
Fri Jul 24 19:33:52 EDT 2009

I'm trying to get mod_mono built and installed so I can start working with
on my Mac.  

xsp built and installed fine.

My configure output for mod_mono is:

Configuration summary for mod_mono

   * Installation prefix = /usr/local
   * Apache version = 2.2
   * Apache modules directory = /usr/libexec/apache2
   * apxs = /usr/sbin/apxs
   * apr-config = /usr/bin/apr-1-config
   * apu-config = /usr/bin/apu-1-config
   * CFLAGS = -64 -I/usr/include/apache2    -I/usr/include/apr-1   
   * Verbose logging (debug) = no
   * GCOV options used = no
   * Profiling enabled = no
   * mono prefix = /Library/Frameworks/Mono.framework/Versions/
   * Default MonoApplicationsConfigDir =

...which looks ok, as far as I can tell. When I try to make mod_mono,
I get the following error:

 gcc -DHAVE_CONFIG_H -I. -I../include -64 -I/usr/include/apache2
-I/usr/include/apr-1 -I/usr/include/apr-1 -64 -I/usr/include/apache2
-I/usr/include/apr-1 -I/usr/include/apache2 -64 -I/usr/include/apache2
-I/usr/include/apache2 -I/usr/include/apr-1 -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/usr/include/apr-1 -Wall
-64 -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -MT
mod_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c
mod_mono.c  -fno-common -DPIC -o .libs/mod_mono_la-mod_mono.o
mod_mono.c: In function ‘fork_mod_mono_server’:
mod_mono.c:1775: error: ‘SIGPWR’ undeclared (first use in this function)
mod_mono.c:1775: error: (Each undeclared identifier is reported only once
mod_mono.c:1775: error: for each function it appears in.)
make[1]: *** [mod_mono_la-mod_mono.lo] Error 1
make: *** [all-recursive] Error 1

Has anyone seen/fixed this?

Any help appreciated.

View this message in context: http://www.nabble.com/Trying-to-build-mod_mono-in-Leopard-10.5.7-tp24653405p24653405.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list