[Image-SIG] Re: compiling 1.1.3 on slack 9.

Fredrik Lundh fredrik@pythonware.com
Mon, 28 Apr 2003 22:20:55 +0200


Rakotomandimby Mihamina wrote:

> I'm trying to compile Imaging 1.1.3 on a slackware 9 .
> the first ./configure , make , cd .. steps are OK .
> but , this is not OK .

> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
> -IlibImaging -I/usr/include/python2.2 -c Tk/tkImaging.c -o
> build/temp.linux-i686-2.2/tkImaging.o Tk/tkImaging.c: In function
> `PyImagingPhoto': Tk/tkImaging.c:165: too few arguments to function
> `Tk_PhotoPutBlock' Tk/tkImaging.c:175: too few arguments to function
> `Tk_PhotoPutBlock' Tk/tkImaging.c:182: too few arguments to function
> `Tk_PhotoPutBlock' Tk/tkImaging.c: In function `TkImaging_Init':
> Tk/tkImaging.c:192: warning: passing arg 3 of `Tcl_CreateCommand' from
> incompatible pointer type error: command 'gcc' failed with exit status 1
> bash-2.05b#

the Tcl/Tk developers are a bunch of clueless amateurs.  for a
workaround, see:

    http://mail.python.org/pipermail/image-sig/2003-April/002177.html

</F>