I have been trying to install the latest version of mod_wsgi (3.3) since hours on my Mac. I\'m on Snow Leopard and I have the versions of Apache (Apache/2.2.15) and Python 2.6.1
On OS X 10.8 Mountain Lion, brew install mod_wsgi fails. This answer on stackexchange suggests the location of the XCode toolchain has changed. It fixed my problem and hopefully helps other people who end up here on 10.8 trying to install mod_wsgi.