Folks:

I'm having trouble building PIL on my Intel Mac. It seems that there's an
architecture mismatch... Here's the debugging info:

...Imaging-1.1.6 alexb$ python setup.py install
running install
running build
running build_py
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imagingft' extension
gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle
-undefined dynamic_lookup build/temp.macosx-10.3-fat-2.5/_imagingft.o -L/sw/lib
-L/opt/local/lib -L/usr/local/lib
-L/Library/Frameworks/Python.framework/Versions/2.5/lib -L/usr/lib -lfreetype -o
build/lib.macosx-10.3-fat-2.5/_imagingft.so
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libz.1.dylib referenced from:
/opt/local/lib/libfreetype.dylib (checking for undefined symbols may be
affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_inflate referenced from libfreetype expected to be defined in
/opt/local/lib/libz.1.dylib
_inflateEnd referenced from libfreetype expected to be defined in
/opt/local/lib/libz.1.dylib
_inflateInit2_ referenced from libfreetype expected to be defined in
/opt/local/lib/libz.1.dylib
_inflateReset/ referenced from libfreetype usr/bin/ld: for expected to be
defined in /opt/localarchitecture /lib/libz.1.dylib
ppc
/usr/bin/ldcollect2: : warning /opt/local/lib/libfreetype.dylib cputypeld
returned 1 exit status
 (7, architecture i386) does not match cputype (18) for specified -arch flag:
ppc (file not loaded)
lipo: can't open input file: /var/tmp//ccoryW3F.out (No such file or directory)
error: command 'gcc' failed with exit status 1

Any ideas what's wrong? Many thanks!

Rich Brown
Hanover, NH USA
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to