generic/TkMagic.c line 89 should read:
Tk_PhotoPutBlock(interp, photohandle, &magickblock, 0, 0,
INSTALL should indicate automake -a is needed after CVS.
generic/Makefile gcc doesn't include the
--with-tclinclude -I directive.
I had to add this to generic/TclMagick.h:
# define __need_FILE
I'm running debian unstable, gcc 3.3 or so, tcl8.5
(made from the 8.4 debian/rules)