[Image-SIG] trying it in osx...

Chris Barker Chris.Barker@noaa.gov
Tue, 03 Dec 2002 16:09:56 -0800

derek prowse wrote:
> I've been trying to get PIL to install for a while now, and seem to
> have met a few problems..   I'm sure this list doesn't get many 'i
> can't install' posts,  and I apologize for being such a lamer.
> That said, take a look at this:
> ld: for architecture i386
> ld: warning -L: directory name (/usr/local/lib) does not exist
> ld: warning -L: directory name (/usr/local/lib) does not exist
> ld: warning /usr/lib/bundle1.o cputype (18, architecture ppc) does not
> match cputype (7) for specified -arch flag: i386 (file not loaded)

Here's your problem. It's a bug in the Apple distributed version of
Python 2.2. What you need to do is edit the 


and remove the line that says:

-arch i386

You can imagine that you really aren't on an i386 machine, after all.

I still didn't get jpeg support, but otherwise it works fine.


Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception