[Image-SIG] Help building PIL on OS X
Fredrik Lundh
fredrik@pythonware.com
Tue, 10 Jul 2001 08:21:53 +0200
itai wrote:
> has anyone managed to compile Imaging on OS X? Using Imaging 1.1.2
> and Python 2.0, I get this when I do make:
>
> ./_imaging.c:2479: illegal function definition, found `init_imaging'
did ./configure run successfully?
is DL_EXPORT correctly defined? if you cannot figure that out (or
fix it), try replacing the "DL_EXPORT(void)" around line 2478 with a
plain "void"):
void
init_imaging(void)
{
...
}
alternatively, you could grab Tony Lownds prebuilt OS X kit, which
includes PIL 1.2:
http://tony.lownds.com/macosx/
hope this helps!
</F>