Snow Leopard; PIL

Jack Uretsky <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
I am following the README that comes with PIL 1.1.7
I get the following, when  I do "python setup.py build_ext -i
(I note the "please check your xcode installation"..I reinstalled in from 
the Snow Leopard disk

_________________________________________________________________
MacOS/Python: can't open file 'setp.py': [Errno 2] No such file or 
directory
Macintosh-2:Imaging-1.1.7 jackuretsky$ python setup.py build_ext -i
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
Compiling with an SDK that doesn't seem to exist: 
/Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk 
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DHAVE_LIBJPEG 
-DHAVE_LIBZ -I/System/Library/Frameworks/Tcl.framework/Headers 
-I/System/Library/Frameworks/Tk.framework/Headers 
-I/opt/local/include/freetype2 -IlibImaging -I/sw/include 
-I/opt/local/include 
-I/Library/Frameworks/Python.framework/Versions/2.6/include 
-I/usr/local/include -I/usr/include 
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
_imaging.c -o build/temp.macosx-10.3-fat-2.6/_imaging.o
In file included from /usr/include/math.h:26,
                  from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                  from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                  from _imaging.c:75:
/usr/include/architecture/ppc/math.h:666: warning: conflicting types for 
built-in function ‘scalb’
In file included from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
                  from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
                  from _imaging.c:75:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
_imaging.c:3017: warning: initialization from incompatible pointer type
_imaging.c:3077: warning: initialization from incompatible pointer type
In file included from /usr/include/architecture/i386/math.h:626,
                  from /usr/include/math.h:28,
                  from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                  from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                  from _imaging.c:75:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for 
Intel with Mac OS X Deployment Target < 10.4 is invalid.
In file included from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
                  from 
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
                  from _imaging.c:75:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
_imaging.c:3017: warning: initialization from incompatible pointer type
_imaging.c:3077: warning: initialization from incompatible pointer type
lipo: can't figure out the architecture type of: 
/var/folders/Rr/RrEV8+QRGCq5fsG4i5qJE++++TI/-Tmp-//ccaXyEIG.out
error: command 'gcc' failed with exit status 1
__________________________________________________________
Evidently, I need help.  Please.
 					Regards,
 						Jack Uretsky


"Trust me.  I have a lot of experience at this."
 		General Custer's unremembered message to his men,
 		just before leading them into the Little Big Horn Valley

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.