[Image-SIG] compile errors

Jeff Hodges jmhodge@bgnet.bgsu.edu
03 Apr 2003 14:31:50 -0500

When I attempt to install PIL on my box it fails on compilation. I'm
running gcc 3.2.2 glibc 2.3.2, tcl/tk 8.4.2 and python 2.2 (of course). 
Here are the errors.

building '_imagingtk' extension
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
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IlibImaging
-I/usr/include/python2.2 -c _imagingtk.c -o
build/temp.linux-i686-2.2/_imagingtk.o -O3 -mcpu=athlon-tbird
-march=athlon-tbird -funroll-loops
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 -O3 -mcpu=athlon-tbird
-march=athlon-tbird -funroll-loops
error: command 'gcc' failed with exit status 1

What the heck did i do wrong? :) all it did was python setup.py
install.  Thanks!
	-- Jeff