Hello Graham, I spend some 10 hours into building the module, got it to work properly and was happy to share the info on that with others. Since you took real serious effort into my message, here is more info on my challenge, maybe this helps you too solve future frustrations on OSX.
in a nutshell: unpack mod_wsgi 3.4 run ./configure (no issues) the Makefile created states: CPPFLAGS = -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DNDEBUG lets take a look: ignace_air:bin ignace$ cd /Library/Frameworks/Python.framework/Versions/2.7/bin ignace_air:bin ignace$ ./python Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> there is also another 2.5, 2.6, 2.7 version of python on this system, lets take a look: ignace_air:mod_wsgi-3.4 ignace$ cd /System/Library/Frameworks/Python.framework/Versions/2.7/bin ignace_air:bin ignace$ ./python Python 2.7.2 (default, Jun 20 2012, 16:23:33) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> ^D I did not install any python. I assume they came with the OS and with Xcode. Cant trace that anymore. I cannot judge which one is 'the best'. Basically: i did not choose consciously what python to use, ./configure took it. If you have additional questions on this, or want me run a test on this OSX, now or later, pls feel free. This was NOT my problem. after unpacking and ./configure;make i got: /usr/sbin/apxs -c -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DNDEBUG -Wc,'-arch x86_64' mod_wsgi.c -Wl,-F/Library/Frameworks -framework Python -u _PyMac_Error -arch x86_64 -ldl -framework CoreFoundation /usr/share/apr-1/build-1/libtool --silent --mode=compile /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -arch x86_64 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo mod_wsgi.c:34:10: fatal error: 'httpd.h' file not found #include "httpd.h" ^ 1 error generated. apxs:Error: Command failed with rc=65536 oops. where is apache? ignace_air:mod_wsgi-3.4 ignace$ sudo find /Library -name httpd.h ignace_air:mod_wsgi-3.4 ignace$ sudo find /usr -name httpd.h ignace_air:mod_wsgi-3.4 ignace$ sudo find /Applications/Xcode.app/ -name httpd.h /Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/apache2/httpd.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/apache2/httpd.h since i cannot find an option in ./configure to change the apache includes, i added them to the makefile (i am merely a web developer). i realize that apple maybe ditched the apache includes together with the hiding of apache in OSX 10.8.2 ... i ran into the same problems with: apr.h Availability.h they are all somewhere under: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include this solved the building process for me and i happily started using the module. As a sidenote: this machine is too new for several python-module-combinations :-( , so eventually i had to install linux on this hardware. kind regards, Ignace -- 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 modwsgi+unsubscr...@googlegroups.com. To post to this group, send email to modwsgi@googlegroups.com. Visit this group at http://groups.google.com/group/modwsgi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.