[Image-SIG] PIL compile error

William Baxter bbaxter@wadsworth.org
Thu, 20 Dec 2001 16:29:43 -0500


Hello,

I'm trying to install The Python Imaging Library  1.1.2. It complains
that a Tk function has the wrong number of arguments.

Under "Build instructions for UNIX", I got up to step 8, "make", which
generated the message:

cc-1136 cc: ERROR File = ./Tk/tkImaging.c, Line = 77
  Too many arguments in function call.

      photo = Tk_FindPhoto(interp, argv[1]);
                                   ^

1 error detected in the compilation of "./Tk/tkImaging.c".
*** Error code 2 (bu21)

---------------------------
This generated the file _imaging.so, but not _imagingtk.so

When I run python, I can import _imaging, but not Image:

Python 2.0 (#5, Oct 24 2000, 09:51:57) [C] on irix6
Type "copyright", "credits" or "license" for more information.
>>> import _imaging
>>> import Image
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named Image
>>>

---------------------------
Any suggestions?

Thanks,

Bill Baxter
Wadsworth Laboratories
Empire State Plaza, Room D350
Albany, NY 12201