[Pythonmac-SIG] Building portable PIL

Jack Jansen Jack.Jansen at cwi.nl
Sat May 1 16:51:37 EDT 2004


On 1 May 2004, at 16:15, Drew McCormack wrote:

> What I need is a copy of PIL which has no dependencies other than 
> those in a standard Mac OS X system. I tried first installing libjpeg 
> using fink, and then using MacPython for PIL, but the PIL formed 
> depends on the libjpeg.dylib file.

To add to Bob's reply: what I did for the PIL in the main package 
manager database (which also doesn't depend on libjpeg.dylib) in the 
end was remove the libjpge.dylib and associated files before building 
PIL. I tried various other approaches trying to get it to use the 
static library in stead of the dynamic library but didn't succeed.

Distutils really needs a feature whereby you can tell it to use 
specific paths to certain libraries in stead of -L and -l options, 
whereby you never know what you'll eventually link against...
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman




More information about the Pythonmac-SIG mailing list