[Pythonmac-SIG] Problem with installation of Imaging (pil)
Benoit Dupont
benoit.dupont at gmail.com
Mon Oct 16 22:50:59 CEST 2006
Hello,
I want to install the Imaging (pil) library on a Mac OS X machine,
but I need your help, cause I have the following problem when I try
to build the lib using python setup.py install
python setup.py install
running install
running build
running build_py
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -
fno-common -dynamic -DNDEBUG -g -O3 -DHAVE_LIBJPEG -DHAVE_LIBZ -I/
System/Library/Frameworks/Tcl.framework/Headers -I/System/Library/
Frameworks/Tk.framework/Headers -IlibImaging -I/opt/local/include -I/
Library/Frameworks/Python.framework/Versions/2.5/include -I/usr/local/
include -I/usr/include -I/Library/Frameworks/Python.framework/
Versions/2.5/include/python2.5 -c _imaging.c -o build/
temp.macosx-10.3-fat-2.5/_imaging.o
In file included from /usr/include/math.h:26,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/pyport.h:200,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:57,
from _imaging.c:74:
/usr/include/architecture/ppc/math.h:477: warning: conflicting types
for built-in function 'scalb'
In file included from /usr/include/wchar.h:112In file included from /
usr/include/wchar.h:112,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/unicodeobject.h:118,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:83,
from _imaging.c:74:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/unicodeobject.h:118,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:83,
from _imaging.c:74:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
_imaging.c:2765: warning: initialization from incompatible pointer type
_imaging.c:2767: warning: 'intargfunc' is deprecated
_imaging.c:2767: warning: initialization from incompatible pointer
type_imaging.c:2765: warning: initialization from incompatible
pointer type
_imaging.c:2767: warning: 'intargfunc' is deprecated
_imaging.c:2767: warning: initialization from incompatible pointer type
_imaging.c:2768: warning: 'intargfunc' is deprecated
_imaging.c:2768: warning: initialization from incompatible pointer type
_imaging.c:2769: warning: 'intintargfunc' is deprecated
_imaging.c:2769: warning: initialization from incompatible pointer type
_imaging.c:2770: warning: initialization from incompatible pointer type
_imaging.c:2771: warning: initialization from incompatible pointer type
_imaging.c:2768: warning: 'intargfunc' is deprecated
_imaging.c:2768: warning: initialization from incompatible pointer type
_imaging.c:2769: warning: 'intintargfunc' is deprecated
_imaging.c:2769: warning: initialization from incompatible pointer type
_imaging.c:2770: warning: initialization from incompatible pointer type
_imaging.c:2771: warning: initialization from incompatible pointer type
lipo: can't figure out the architecture type of: /var/tmp//ccV3P1kE.out
**********
When i try python setup.py build_ext -i, and 've got the following
message...
benoit-duponts-computer:~/Documents/2ème license/IA/Python/
Imaging-1.1.5 benoitdupont$ python setup.py build_ext -i
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -
fno-common -dynamic -DNDEBUG -g -O3 -DHAVE_LIBJPEG -DHAVE_LIBZ -I/
System/Library/Frameworks/Tcl.framework/Headers -I/System/Library/
Frameworks/Tk.framework/Headers -IlibImaging -I/opt/local/include -I/
Library/Frameworks/Python.framework/Versions/2.5/include -I/usr/local/
include -I/usr/include -I/Library/Frameworks/Python.framework/
Versions/2.5/include/python2.5 -c _imaging.c -o build/
temp.macosx-10.3-fat-2.5/_imaging.o
In file included from /usr/include/math.h:26,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/pyport.h:200,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:57,
from _imaging.c:74:
/usr/include/architecture/ppc/math.h:477: warning: conflicting types
for built-in function 'scalb'
In file included from /usr/include/wchar.h:112,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/unicodeobject.h:118,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:83,
from _imaging.c:74:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
In file included from /usr/include/wchar.h:112,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/unicodeobject.h:118,
from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:83,
from _imaging.c:74:
/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
_imaging.c:2765: warning: initialization from incompatible pointer type
_imaging.c:2767: warning: 'intargfunc' is deprecated
_imaging.c:2767: warning: initialization from incompatible pointer type
_imaging.c:2768: warning: 'intargfunc' is deprecated
_imaging.c:2768: warning: initialization from incompatible pointer type
_imaging.c:2769: warning: 'intintargfunc' is deprecated
_imaging.c:2769: warning: initialization from incompatible pointer type
_imaging.c:2770: warning: initialization from incompatible pointer type
_imaging.c:2771: warning: initialization from incompatible pointer type
_imaging.c:2765: warning: initialization from incompatible pointer type
_imaging.c:2767: warning: 'intargfunc' is deprecated
_imaging.c:2767: warning: initialization from incompatible pointer type
_imaging.c:2768: warning: 'intargfunc' is deprecated
_imaging.c:2768: warning: initialization from incompatible pointer type
_imaging.c:2769: warning: 'intintargfunc' is deprecated
_imaging.c:2769: warning: initialization from incompatible pointer type
_imaging.c:2770: warning: initialization from incompatible pointer type
_imaging.c:2771: warning: initialization from incompatible pointer type
lipo: can't figure out the architecture type of: /var/tmp//ccpJYQST.out
error: command 'gcc' failed with exit status 1
benoit-duponts-computer:~/Documents/2ème license/IA/Python/
Imaging-1.1.5 benoitdupont$
**************************
I try to search on the web during three days, but nothing work. Can
you help me? I install last version of darwin, and png and jpeg
libraries. I can compile and run normally other python programmes,
whith eclipse environnement, and I installed python from the cds of
my MacBook 10.4.8
Thank you
Ben
More information about the Pythonmac-SIG
mailing list