Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-21 Thread Ned Deily
In article <7fd54a88-9d22-46c8-b25e-7d21efccf...@eku.edu>, Jerry LeVan wrote: > I have the community version of Python 2.6.2 installed on my > MacBook Pro running 10.6.1. > > I am trying to build psycopg2 ( 2.0.12) on my mac and am > no having much luck... > > [mbp:~/python/psycopg2-2.0.12]$ p

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Jerry LeVan
On Sep 16, 2009, at 4:38 PM, William Kyngesburye wrote: I used this without any problems: export PATH="/usr/local/pgsql/bin:$PATH" export ARCHFLAGS="-arch i386" python setup.py build Compilation is correctly using gcc-4.2 and the 10.6 sdk. This is with the system python. Did you install P

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread William Kyngesburye
I used this without any problems: export PATH="/usr/local/pgsql/bin:$PATH" export ARCHFLAGS="-arch i386" python setup.py build Compilation is correctly using gcc-4.2 and the 10.6 sdk. This is with the system python. Did you install Python from python.org? They probably have the distuti

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Emanuele Santos
Try using gcc 4.0, Snow Leopard is using gcc-4.2 by default. export CC=/usr/bin/gcc-4.0 export CXX=/usr/bin/g++-4.0 -- Emanuele. On Sep 16, 2009, at 7:31 AM, Jerry LeVan wrote: Hi I have the community version of Python 2.6.2 installed on my MacBook Pro running 10.6.1. I am trying to build p