I do *all* my development on OS X Leopard! I just used the version in MacPorts. You have to compile psycopg2 against the same architecture as the server libraries (64 or 32-bit, depending on what you're on). I use a MacBook Pro and I had to add the 64-bit flags. I was going to post what I changed in the Makefile, but I've deleted it.
I've used Cygwin a lot and I don't find it easier to use than the Mac at all. Of course, I would say that since I'm a die-hard Mac user. Are you using MacPorts? If so, there's a version in there that will compile fine. I use Postgres 8.3 and I had to make sure my CFLAGS and LDFLAGS were set such that /Library/PostgreSQL8 was found by psycopg's configure. It's called py25-psycopg2. Thanks! Jon Brisibn http://jbrisbin.com On Aug 23, 2008, at 1:08 PM, Theme Park Photo, LLC wrote: > > I have been unable to get Django + Postgres to run on Leopard. > > (Works fine on Windows and Linux. Personally, I find it much easier to > get most open source stuff to run on Windows or Windows+Cygwin than on > the Mac!) > > Anyway, the problem isn't Django, and it isn't Postgres. It's > psycopg2! I can't get it to build! And the "MacPorts" version that > everyone tells me to use is for Python 2.4, and I'm on Python 2.5. > > Has anyone gotten Django + Postgres + Python 2.5 + psycopg2 to run on > Leopard? Or should I just use the mac as a pretty box to browse the > web with? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---