#2 Compilation problems.

open
None
5
2004-12-19
2004-12-14
Colin McCormack
No

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
#include <stdio.h>

I'm running debian unstable, gcc 3.3 or so, tcl8.5
(made from the 8.4 debian/rules)

Discussion

    • assigned_to: nobody --> davidw
     
  • Logged In: YES
    user_id=240

    I tweaked the PhotoBlock bit, that should be ok.

    I updated the install and added a script that should take
    care of that stuff automatically.

    I'm not sure about that stdio.h bit... can you explain in
    more detail?

    Thanks,
    Dave