2👍
✅
Please use discussion on mod_wsgi list on Google Groups. I don’t want to be answering Snow Leopard issues in two places.
http://groups.google.com/group/modwsgi/browse_frm/thread/c0ca8e6dd5f80417
UPDATE 1
You must install XCode from the optional installs directory of the MacOS X installation CD. If you do not do this, then none of the system, Apache or Python header files will be installed.
Looks like you still have MacPorts gcc installed and so that was found to do compilation, but lack of all the header files caused it to fail.
FWIW, mod_wsgi works fine under Snow Leopard using standard Apple supplied Apache, Python and GNU compiler.
Source:stackexchange.com