[Image-SIG] problem in installing pil

Harald Rosemann rosemann at imkt.uni-hannover.de
Thu Feb 26 15:38:08 CET 2009


Hallo!

Can You please tell me,
what's wrong here?

I am on _openSUSE 11.0_ with
_python 2.5.2_.

I got _Imaging-1.1.6_.
I called:  _python setup.py build_ext -i_

I got the message:

_imagingtk.c:20:16: error: tk.h: Datei oder Verzeichnis nicht gefunden
_imagingtk.c:23: error: expected ‘)’ before ‘*’ token
_imagingtk.c:31: error: expected specifier-qualifier-list before
‘Tcl_Interp’
_imagingtk.c: In function ‘_tkinit’:
_imagingtk.c:37: error: ‘Tcl_Interp’ undeclared (first use in this function)
_imagingtk.c:37: error: (Each undeclared identifier is reported only once
_imagingtk.c:37: error: for each function it appears in.)
_imagingtk.c:37: error: ‘interp’ undeclared (first use in this function)
_imagingtk.c:45: error: expected expression before ‘)’ token
_imagingtk.c:51: error: ‘TkappObject’ has no member named ‘interp’
_imagingtk.c:55: warning: implicit declaration of function ‘TkImaging_Init’
error: command 'gcc' failed with exit status 1

Where is my fault?

With best regards
Harald Rosemann


More information about the Image-SIG mailing list