[Image-SIG] help compiling PIL

Fredrik Lundh fredrik@pythonware.com
Thu, 22 Jun 2000 17:44:08 +0200


Michal Wallace wrote:
> I'm having a real hard time getting PIL 1.1 to compile on my machine.
> It seems to compile correctly, but when I try to actually use it, I 
> get:
> 
> >>> import _imaging
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> ImportError: Undefined symbol "_ImagingSavePPM" in python:./_imaging.so
> 
> Can someone help me out here?

I have no idea...  the only difference I see is that I'm using a newer
compiler (we just upgraded our servers), but I'm sure I've compiled
earlier versions of PIL with 2.7.2 without problems.

You could try #undef'ing the WITH_DEBUG flag in _imaging.so.

Or update your compiler...

cheers /F