Been a while since I built against Apache 2.3 and they have changed
how the lock type is determined as a result of some refactoring. Will
take me a little while to work out what mod_wsgi code needs to be
changed to.

They also seemed to have dropped AcceptMutex directive in Apache 2.3
and don't allow users to change the lock type. Have to thus work out
what happens to WSGIAcceptMutex which did similar thing for mod_wsgi
daemon mode. Usually one would never need to override it, but learnt
from mod_python that not being able to could cause issues if on
systems which had very small number of SYSV kernel semaphores.

When I work this out, any changes for Apache 2.3 will only go into
mod_wsgi subversion trunk and will not be back ported to mod_wsgi 3.X.

Graham

On 22 February 2010 04:40, Neil Bushong <[email protected]> wrote:
> I'm trying to compile mod_wsgi with the new Apache 2.3.5 alpha
> release, under Debian Lenny, using apr and apr-util 1.3.  I'm getting
> an error compiling mod_wsgi that is very similar to something
> mentioned in the FAQ for SUSE Linux, but which I believe is not the
> same issue:
>
> /home/bushong/.local/build-1/libtool --silent --mode=compile gcc -
> prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/
> home/bushong/.srv/apache2/include  -I/home/bushong/.local/include/
> apr-1   -I/home/bushong/.local/include/apr-1  -I/usr/local/include/
> python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
> mod_wsgi.c: In function ‘wsgi_set_accept_mutex’:
> mod_wsgi.c:9627: error: ‘ap_accept_lock_mech’ undeclared (first use in
> this function)
> mod_wsgi.c:9627: error: (Each undeclared identifier is reported only
> once
> mod_wsgi.c:9627: error: for each function it appears in.)
> apxs:Error: Command failed with rc=65536
> .
> make: *** [mod_wsgi.la] Error 1
>
> Note that there is no complaint about not being able to find mpm.h.
>
> If I do a find/grep inside the apache 2.3.5 alpha source code, I don't
> get any hits for the strings "lock_mech" or "LOCK_MECH".  I do get
> lots of hits for those strings if I search the Apache 2.2.14 source
> code.
>
> Has anyone else been able to compile mod_wsgi 3.1 against the new
> Apache 2.3.5 alpha release?
>
> Neil
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to