Since I wrote that little guide Heather links to, I should point out that while the mod_python bit works fine, the real problem on a macbook with Leopard installed ends up being mysqldb (see <http://www.djangoproject.com/documentation/install/>). I never have been able to successful compile a version of mysqldb that would work with Leopard's default Apache and MySQL.
In the end I wanted to mirror my remote production setup as closely a possible so I went ahead and installed my own Apache2, python 2.4 and the rest (OS X 10.5 comes with python 2.5, which can cause problems when your production environment is python2.4). But if you have any questions, feel free to e-mail me. cheers sng <http://luxagraf.net/> On Jan 19, 2008 10:32 AM, Heather <[EMAIL PROTECTED]> wrote: > > You have to do some editing to make it work for 64 bit. If you google > mod_python leopard 64 bit you'll find some pages. Here is one... > http://blog.wired.com/monkeybites/2007/11/tips-and-tricks.html > I have a macbook pro and am running django w/ mod_python and the built > in apache2 and mysql. > > > On Jan 18, 11:51 pm, John M <[EMAIL PROTECTED]> wrote: > > Thakn you Graham, thats what I'm talking about. I just finished > > trying to compile mod_python, and it's not working, and I figured it > > was something like that. > > > > So it's off to try mod_wsgi. > > > > Thanks > > > > J > > > > On Jan 18, 4:29 pm, Graham Dumpleton <[EMAIL PROTECTED]> > > wrote: > > > > > On Jan 19, 8:49 am, John M <[EMAIL PROTECTED]> wrote: > > > > > > I guess I wasn't clear on the PURPOSE to do it, experience, not > > > > practicality. > > > > > > I love the built-in django server, it's awesome, how much easier could > > > > anyone make it, I think none. But, I wanted to get ready for what it > > > > might be like to deploy django at a hosting facility, or maybe even on > > > > a home setup in Apache, thats all. Since I have a macbook, with > > > > Apache 2 installed, I figured I'd try it. after checking the config > > > > and various googles, it turns out that gettingmod_pythonon the mac > > > > os X might not be as easy as say a debian apt-get kind of thing :). > > > > > > So, back to the question, how do I get a mac book with stock apache > > > > installed, to run django? > > > > > Simple, don't use mod_python as it hasn't been patched to build > > > cleanly on a 64bit Intel MacOSX Leopard machine. Use instead mod_wsgi > > > 2.0 (RC) as it will build out of the box on MacOSX. See: > > > > > http://www.modwsgi.org > > > http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango > > > http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX > > > > > Graham > > > > > > Thanks > > > > > > John > > > > > > On Jan 18, 12:08 pm, Christian Joergensen <[EMAIL PROTECTED]> wrote: > > > > > > > John M wrote: > > > > > > OK, > > > > > > > > So I know Linux / Apache pretty well, never really done any > > > > > > hard-core > > > > > > stuff with it. Now I want to use apache on my macbook (intel) OSx > > > > > > 10.5 (upgrade),but have no clue about how to do it. > > > > > > > > Googling for how to installmod_pythonresults in a lot of issues from > > > > > > what I can find, 64bit vs 32bit, etc. > > > > > > > > So my question is, whats the easiest way to just get my macbook > > > > > > intel > > > > > > 10.5 to run apache and Django. > > > > > > > You don't really need Apache andmod_pythonfor developing Django, just > > > > > use the built-in webserver. > > > > > > > Take a look here:http://www.djangoproject.com/documentation/install/ > > > > > > > Note the first paragraph of "Install Apache andmod_python". Developing > > > > > your applications undermod_pythonis quite a hassle IMO. > > > > > > > Regards, > > > > > > > -- > > > > > Christian Joergensen | Linux, programming or web > > > > > consultancyhttp://www.razor.dk| Visit us at:http://www.gmta.info > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---