On Oct 20, 11:34 am, "jd.strickler" <[EMAIL PROTECTED]> wrote:
> Just as a heads up: if you have a 64-bit Intel chip running OS X....
>
> The cross-compiling/Universal Binary issue may come up to bite you (it
> did me). Apache runs in 64-bit mode while most of the system runs in
> 32-bit mode, meaning that every part of your Django stack has to be
> compiled for both into a UB.
>
> Specifically, I had to hack around with mod_python, Postgresql,
> psycopg2, and python-ldap (for an LDAPBackend I wrote; not needed for
> a vanilla Django setup). Ccompiling this stuff correctly usually
> means adding a few tags in the right file.
>
> (Because I'm an idiot) this took me ~2 months to get right. So, if
> you solve your stack overflow issue and run into any of these, email
> me and I'll send over the documentation I have.
Or you force Apache to run in 32 bit more.
For details see:
http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX#Thinning_The_Apache_Executable
Plus comment to same document which explains easier way by changing
plist file.
Graham
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---