[Pythonmac-SIG] Using Python 2.5 on Snow Leopard

Christopher Barker Chris.Barker at noaa.gov
Fri Sep 11 23:54:05 CEST 2009


Brad Howes wrote:
> Can you try recompiling with "-arch i386 -arch x86_64" options in the 
> CFLAGS?

wouldn't you want:

"-arch i386 -arch PPC"

To be compatible with the python2.5 build? Adding the 64 bit lib 
wouldn't hurt, but it wouldn't' help, either, unless you want to use it 
with other things that need it.

You may also simply be able to use a binary of PIL. There is this one here:

http://pythonmac.org/packages/py25-fat/index.html

Which is for the python.org 2.5, but you may be able hand-copy some 
stuff over.

I did set up a build to PIL, using macports to build libjpeg and libpng. 
They  build well using the "universal" variant on a 10.5 Intel system. 
I'm not sure what macports is building on SL, but it's worth checking out.

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list