[Mono-osx] mod_mono troubles under Leopard (resolved)

asleB asle.benoni at gmail.com
Wed May 27 17:04:52 EDT 2009


Hello,
I see you have configured with success. I had to install pkconfig from FINK
and change some paths in my $PROFILE but configure on OS X 10.5.7 worked for
me with this:

./configure CFLAGS="-m64" --with-apxs=/opt/local/apache2/bin/apxs
--with-apr-config=/opt/local/bin/apr-1-config--with-apu-config=/opt/local/bin/apu-1-config

But when I do a make I get an error. Any ideas why it does not work?

bash-3.2$ make
Making all in src
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include   -m64 -I/usr/include/apache2    -I/usr/include/apr-1   
-I/usr/include/apr-1  -m64 -I/usr/include/apache2    -I/usr/include/apr-1   
-I/usr/include/apache2 -m64 -I/usr/include/apache2   -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -m64 -I/usr/include/apache2    
-I/usr/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp  -I/usr/include/apr-1  -Wall
-DDFLT_MONO_CONFIG_DIR=\"/private/etc/apache2/mod-mono-applications\"
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include   -m64
-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 -o
mod_mono_la-mod_mono.lo `test -f 'mod_mono.c' || echo './'`mod_mono.c
 gcc -DHAVE_CONFIG_H -I. -I../include -m64 -I/usr/include/apache2
-I/usr/include/apr-1 -I/usr/include/apr-1 -m64 -I/usr/include/apache2
-I/usr/include/apr-1 -I/usr/include/apache2 -m64 -I/usr/include/apache2
-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -m64
-I/usr/include/apache2 -I/usr/include/apr-1 -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/usr/include/apr-1 -Wall
-DDFLT_MONO_CONFIG_DIR=\"/private/etc/apache2/mod-mono-applications\"
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -m64
-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:1768: error: 'SIGPWR' undeclared (first use in this function)
mod_mono.c:1768: error: (Each undeclared identifier is reported only once
mod_mono.c:1768: error: for each function it appears in.)
make[1]: *** [mod_mono_la-mod_mono.lo] Error 1
make: *** [all-recursive] Error 1


devdiscuss-3 wrote:
> 
> I wanted to post the resolution in case others come across the issue in
> the
> future:
> 
> - grabbed the mod_mono source from the site
> - ./configure CFLAGS="-m64" --with-apxs=/opt/local/apache2/bin/apxs
> --with-apr-config=/opt/local/bin/apr-1-config
> --with-apu-config=/opt/local/bin/apu-1-config *
> *- make
> - cp src/.libs/mod_mono.so /usr/libexec/apache2
> - add the LoadModule directive to httpd.conf
> - apachectl -k restart
> 
> Thanks again,
> 
> Kris
> 
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> 

-- 
View this message in context: http://www.nabble.com/mod_mono-troubles-under-Leopard-%28resolved%29-tp16352661p23750800.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list