[kroc] - 17 dec 2004 : I've done 4 [TclMagick] 0.42 binary packages for '''linux x86'''. The first one was done with Tcl/Tk 8.4.9 headers and GraphicsMagick-1.1.2, the second with Tcl/Tk 8.4.9 headers and ImageMagick-6.1.6, the third with Tcl/Tk 8.5.a2 and GraphicsMagick-1.1.2 and the last with Tcl/Tk 8.5.a2 and ImageMagick-6.1.6. '''GraphicsMagick-1.1.2 and ImageMagick-6.1.6''' GraphicsMagick 1.1.2 and ImageMagick-6.1.6 were built with official sources using this command for both: ./configure --prefix=/usr/local --without-perl --with-quantum-depth=8 --disable-installed --disable-shared --with-gslib -without-magick-plus-plus --disable-largefile '''TclMagick''' TclMagick0.42 was built using this command to use ImageMagick: ./configure --prefix=/usr/local --with-magick=/usr/local/bin/Wand-config --with-tcl=/usr/local/lib -with-tk=/usr/local/lib --with-tclinclude=/usr/local/include --with-tkinclude=/usr/local/include and this one to use GraphicsMagick: ./configure --prefix=/usr/local --with-magick=/usr/local/bin/GraphicsMagickWand-config --with-tcl=/usr/local/lib -with-tk=/usr/local/lib --with-tclinclude=/usr/local/include --with-tkinclude=/usr/local/include TclMagick sources were modified by [GPS] and [davidw], you can download them here: For 8.4.x use http://www.kroc.tk/TclMagick/TclMagick_src_for_84.tar.gz For 8.5.x use http://www.kroc.tk/TclMagick/TclMagick_src_for_85.tar.gz '''Download''' If you want TclMagick binary package using GraphicsMagick for 8.4.x : http://www.kroc.tk/TclMagick/TclMagick84GM.tar.gz If you want TclMagick binary package using GraphicsMagick for 8.5.x : http://www.kroc.tk/TclMagick/TclMagick85GM.tar.gz If you want TclMagick binary package using ImageMagick for 8.4.x : http://www.kroc.tk/TclMagick/TclMagick84IM.tar.gz If you want TclMagick binary package using ImageMagick for 8.5.x : http://www.kroc.tk/TclMagick/TclMagick85IM.tar.gz '''Required library''' libdl.so.2 => /lib/libdl.so.2 (0x402ef000) libtiff.so.3 => /usr/lib/libtiff.so.3 (0x402f2000) libfreetype.so.6 => /usr/X11R6/lib/libfreetype.so.6 (0x40332000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4037c000) libpng.so.3 => /usr/lib/libpng.so.3 (0x4039a000) libdpstk.so.1 => /usr/X11R6/lib/libdpstk.so.1 (0x403c7000) libdps.so.1 => /usr/X11R6/lib/libdps.so.1 (0x403cf000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4040f000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40459000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40466000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4046f000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40486000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40541000) libz.so.1 => /usr/lib/libz.so.1 (0x40618000) libm.so.6 => /lib/libm.so.6 (0x40626000) libpthread.so.0 => /lib/libpthread.so.0 (0x40647000) libc.so.6 => /lib/libc.so.6 (0x4065d000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) '''Compatibility''' TclMagick will '''not''' work if you load [TkImg]! (but I don't know why). 2004/12/17 [sheila] Which platforms did you check Img compatibility on? It works for me. 2004/12/17 [kroc] the test was made on linux. Tk crashes on [[phototomagick $tkimage $wand]] if TkImg 1.3 is loaded with TclMagick and TkMagick. 1) Would you be willing to put these on the sourceforge TclMagick download site now and in the future if we give you access? 2) Are you able to distill a test case that demonstrates the interaction problems between TclMagick and Img? I am not sure we will be able to fix it soon, but at least we will have a record of it. Thanks, [davidw] '''Simple compilation''' Here's how I compile tclmagick to avoid a lot of problems: gcc -shared -DUSE_TCL_STUBS -fPIC -DUSE_TK_STUBS -DUSE_TK_STUBS -I. \ -I/usr/local/include -L/usr/local/lib -L/usr/lib -lWand \ -o tclmagick.so -O2 -DNDEBUG -Wl,-s TclMagick.c It works fine with the Img extension, of course. If you want pre-compiled binaries and examples to avoid tkmagick (which isn't needed anyway), see http://pragana.net -- [Rildo Pragana] [aricb] writes: Rildo, in the above call to gcc, is the "-DUSE_TK_STUBS -DUSE_TK_STUBS" intentional, and if so, can you explain what it does that plain old "-DUSE_TK_STUBS" doesn't do? ---- Providing binaries is great, but let's try and find a way to get them on the official site so that there is some degree of reliability and continuity associated with them. TkMagick isn't needed, that's one of the advantages of TclMagick over Img. However, it is convenient if you use Tk with your images! 2004/12/20 [sheila] I'm curious about how people handle the use of TclMagick without TkMagick. I find TkMagick to be useful because it allows me to use the results of TclMagick without requiring the intermediate step of writing to a file and then using it with an image create command. Is there another way to get around this? I preferred not to have the overhead of worrying about where I should write an intermediary file, and then cleaning it up afterwards (have to include a lot more error handling).