Edward A. Berry wrote:
If you have trouble with TCL/TK read below-quoted message.
Mosflm site has more suggestions.
better yet:
http://strucbio.biologie.uni-konstanz.de/ccp4wiki/index.php/CCP4_on_Fedora_12
which says: Now Tcl/Tk tools are bundled with Fedora 12, and they work well for
CCP4i/imosflm. Install tcl, tk, blt, itcl, itk, tkimg, tcl-tktreectrl, iwidgets, and tdom
packages and set $CCP4I_TCLTK to /usr/bin.
BUT the blt bundled with Fedora 14 does not include bltwish.
better use patched blt2.4 as described by del Campo below.
Apparently same is true of ubuntu and the developers do not consider this a bug, according
to the bug report filed by wgscott:
https://bugs.launchpad.net/ubuntu/+source/blt/+bug/19148
"not a bug. It doesn't make sense to provide a separate shell for each Tcl
Extension. Also, the current blt version is 8.0.
just use wish for your scripts:
#!/usr/bin/wish
package require BLT
[...] "
I tend to agree with Bill, but if it would be this easy to remove a dependency
that makes trouble for newbies like me, maybe CCP4 should do it.
Mark Del Campo wrote:
Okay, I got the problem resolved in the following way (thanks go to Clint
Leysath):
1. removed the tcltk++ directory that came with my ccp4 download
2. installed Activestate's tcltk 8.4.19.2 from
https://www.activestate.com/activetcl/downloads/
3. downloaded blt2.4z.tar.gz and the blt2.4z-patch-2 from
http://sourceforge.net/projects/blt/files/
4. unpacked blt2.4z.tar.gz and moved the patch file into the blt2.4z directory
5. patched the blt installation (patch -p1 -i blt2.4z-patch-2)
6. then reordered statements in blt2.4z/src/bltTree.c [this is detailed at
http://www.ccp4.ac.uk/ccp4i/install_tcltkblt.html under the heading
Compilation failure in bltTree on 64-bit machines]
7. configured the blt install (./configure --with-tcl=/path/to/ActiveTcl-8.4)
8. installed blt (make)
9. for some reason bltwish did not end up in /path/to/ActiveTcl-8.4/bin even
though the configure script said that is where it would be put, so I moved
it to /path/to/ActiveTcl-8.4/bin
10. edited 1 line in ccp4.setup-bash (setenv CCP4I_TCLTK
/path/to/ActiveTcl-8.4/bin/)
11. opened a new terminal window& ccp4i works