[Pythonmac-SIG] compiling PIL on OSX10.5

Ronald Oussoren ronaldoussoren at mac.com
Thu Feb 28 16:00:49 CET 2008


On 28 Feb, 2008, at 15:41, DavidW wrote:

> Hey Ronald - I recon that way madness lies!
> I sent the last post and then realised I could run both a new and  
> old python
> so I downloaded and have begun - wow - talk about speed!
>
> btw it's quite hard to work out where exactly to get the .dmg
> from - sometimes MacPython is called python (under a mac heading) etc
> (went around the loop a couple of times and eventually downloaded
> from http://www.python.org/download/
> which instantiates as
>> Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
>> [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
>> Type "help", "copyright", "credits" or "license" for more  
>> information.
>>
>> Executable: /Library/Frameworks/Python.framework/Versions/2.5/ 
>> Resources/Python.app/Contents/MacOS/Python
>>
>
> Is that the right one?

The correct download for Python 2.5.x is from http://www.python.org/download/ 
. There is a dmg on pythonmac.org as well, but AFAIK that either isn't  
maintained or is a copy of the python.org image.

That said, OSX 10.5 ships with Python 2.5.1 as /usr/bin/python. I'd  
use that version unless you need the Python.org build (e.g. you're  
running into a bug that's fixed in 2.5.2 or you're embedding python in  
an application that you'll ship to OSX 10.4 users).

>
> Anyway PIL compiles and loads, so,sorry to bother you about this -
> Sometimes it's better to bite the bullet!

Did you download and compile libjpeg as well? If you don't install  
that somewhere PIL will happily build and install, but without JPEG  
support.

Ronald

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20080228/5d29ab42/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20080228/5d29ab42/attachment-0001.bin 


More information about the Pythonmac-SIG mailing list