2009/2/12 Mara Rinn <[email protected]>: > On Thu, Feb 12, 2009 at 1:15 PM, Graham Dumpleton > <[email protected]> wrote: >> >> Which all looks perfectly fine given that it picked up standard MacOS >> X Python version and not MacPorts version. > > Apologies, I was posting in response to the guy asking about mod_wsgi 2. > I've given up on diagnosing the mod_wsgi 1 problems in MacPorts where it > appears to compile against the MacPorts python 2.4, but then when loaded > under the MacPorts Apache 2 it picks up the Mac OS Python 2.5 interpreter > and issues a warning. > >> >> What exactly is you want to achieve? The build above would work fine >> if wanting to use MacOS X Python 2.5.2 and MacOS X Apache 2.2.9. > > At this point, I'm looking for a working Django installation. Right now I've > got "real" mod_wsgi 2.3, compiled against the "real" Python 2.5 that came > shipped in the box with Mac OS X, running under the "real" Apache 2 server > that came shipped in the box. > I *am* using virtualenv though, so in future posts from me on this topic you > might see funky stuff like Python 2.5 living at > ~/.virtualenvs/Django-0.95/bin/python or > ~/.virtualenvs/Django-1.0/bin/python, instead of /usr/bin/python. > My testing and production environments are both Debian "Etch", and I'm > getting closer to just running Debian "Etch" under VMWare on my Mac for > development purposes, even though that means futzing around with editing my > files over Samba shares. > But at this point in time (right now), I have the system Python & Apache, a > "properly" compiled mod_wsgi 2.3 and two versions of Django (I'm porting a > legacy app from 0.95 to 1.0) all working just fine, and I'm down to > installing the various Python modules that my program depends on. But I'm > still at step 1 of Beck's Dictum :) > But I digress. > My response in this thread was just to show that getting mod_wsgi 2.3 is > really easy. If you have MacPorts installed, all you need to do is remove > the /opt/local/bin from PATH.
Or say: ./configure --with-python=/usr/bin/python --with-apxs=/usr/sbin/apxs Then it doesn't matter if alternate versions come first in PATH. Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
