> On 2 Feb 2017, at 5:51 pm, YKdvd <[email protected]> wrote:
>
> We're going to be moving from an ancient mod-wsgi server to a new Ubuntu box,
> plus some dev work on OSX. From what I understand, MacOS 10.12 "Sierra" has
> broken the normal make/build ("CMMI") for compiling the Apache module? But
> the mod_wsgi-express stuff can somehow compile an Apache module for itself,
> which can be used with the Sierra system Apache (but must be placed in a
> location other than the normal "usr/libexec/apache2" because of SIP)? Is
> this just because some workarounds the express setup is doing to compile
> under Sierra just haven't been or can't be backported into the CMMI build
> chain? Or is there some other magic in the express-built module?
Apple no longer supplies the apr-1-config and apu-1-config scripts, as well as
other things I can remember right now, which are required by the Apache apxs
tool used to build Apache modules. The CMMI method relies on the apxs tool
working.
It isn't known whether Apache will fix it in a newer Xcode tools update by
adding back the tools, or whether they will leave it broken until 10.13 release
of OS. In the past few versions of the OS they have always broken the ability
to do builds in one way or another and never fix it, so always have to keep
using workarounds. This time it is too much trouble to try and workaround the
problems they have caused for CMMI method by leaving those tools out. The CMMI
method was already partly a problem anyway because of SIP and you couldn't
install the Apache module in the default modules directory where apxs tries to
put it.
So for MacOS X you now need to use the pip install method. That is as simple as:
pip install mod_wsgi
mod_wsgi-express module-config
Take output of second command and add it to the Apache configuration file to
load the Apache module.
Graham
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.