Version 15 of Megabyte's tkImg build

Updated 2009-01-17 03:44:20 by Megabyte

Megabyte- When I first released Ikonikos Image Manager to everyone on the Wiki, I noticed it had a nasty bug when reading corrupted files (my program would crash), so I filed a bug report. The bug was fixed on the SVN, but for some reason, things were somewhat broken in my Windows and Linux systems. It turned out that my (old) Img library was being loaded first, and the SVN was running fine. Then, I decided I'd be happy with SVN revision 190 of TkImg.

It would be very nice and beautiful, except that... it wouldn't build?

So, after some sweating and dark magic, here is my hacked version of TkImg's SNV build. There are binaries for Linux and Windows alike, and the source trees are also available (Note: install and run this at your own risk).

Installation method:

  • Windows binary [L1 ] - click, click, install. Done.
  • Linux binaries (rpm [L2 ], deb [L3 ] or tgz [L4 ]) - follow the instructions of your package manager. Note: to remove your rpm file, you must do it by the complete file name - just removing using "rpm -e tkimg" will not work.
  • Source tree, Windows [L5 ]: download TCL/Tk 8.5's sources. Then run ./configure --prefix=<path to tcl installation> --with-tcl=<path to tcl sources>, make, and make install. Default installation directory is /c/build. If you want to change that, change INSTALL_ROOT_DIR in the main configure file. Copy the files to your TCL installation. It is highly recommended that you use Mingw + MSYS to compile these libraries.
  • Source tree, other operating systems [L6 ]: download TCL/Tk 8.5's sources. Then run ./configure, make and make install.

---

Questions

1. Can I use the Windows source tree to generate the Linux libraries?

  • Probably, but I wouldn't do it. The Windows tree is more hackish, and was modified to ensure everything will build smoothly on Windows. Downloading the Windows source to compile Linux libraries will just make your life more difficult.

enter categories here