[Pythonmac-SIG] PIL w/o tk on Macho

Dan Grassi dan@grassi.org
Thu, 9 May 2002 16:21:37 -0400


I am trying to build PIL on macho but getting the following error:

cc -Wl,-F. -Wl,-flat_namespace,-U,_environ -bundle -framework   
./_imaging.o ./decode.o ./encode.o ./map.o ./display.o ./outline.o 
./path.o  libImaging/libImaging.a -L/usr/local/lib -ljpeg 
-L/usr/local/lib -lz  -o ./_imaging.so
/usr/bin/ld: can't locate framework for: -framework ./_imaging.o
make: *** [_imaging.so] Error 1

I have the macho "pygames) framework of python installed:
Python 2.2 (#11, Jan  6 2002, 01:00:42)
[GCC 2.95.2 19991024 (release)] on darwin

Any idea of what I need to do of if this combination will work?

Or in general how to get PIL running under macho?

Thanks,

Dan