TclMagick requires tk even when configure --without-tk
Swiss army knife of image processing
Brought to you by:
bfriesen
This case on Ubuntu 12.04 LTS shows tcl built as part of naviserver/openacs. However, building TclMagick fails:
root@...:/usr/local/src/GraphicsMagick-1.3.19/TclMagick# ./configure
--with-magick=/usr/local/src/GraphicsMagick-1.3.19/wand/GraphicsMagickWand-config
checking for a BSD-compatible install... /usr/bin/install -c
...
checking for Tk configuration... configure: WARNING: Can't find Tk
configuration definitions
Details in thread:
https://sourceforge.net/p/graphicsmagick/mailman/graphicsmagick-tclmagick/?viewmonth=201401&viewday=9&style=threaded
Hi; I've seen your call for help and that seemed like something i could do.
I've create a merge Request for this:
https://sourceforge.net/p/graphicsmagick/code/merge-requests/16/
However ... i stumbled upon additional problems after that.
Seems strange that this did not happen before so maybe I'am doing something wrong? Because the make compiles all under generic/ not under unix/ like install/tests seem to expect
Seems that after all this is still nothing for me to help :/
For me fixing the install would be:
And fixing the loading is:
Possible patch from merge request attached. Closed merge request because of hg problems.
TclMagick does not use the MagickWand library. Regardless, as of October, 2024 the build relationship between TkMagick and TclMagick has been completely re-imagined.
This issue is declared fixed (unless proven otherwise).