That does look easier, but mainly because you are not
installing blt -
What do you get for "which bltwish"?
presumably in $CCP4I_TCLTK, since ccp4i works.
So that means $CCP4_MASTER/tcltk++/bin

But how did it get there?

Then your install of activetcltk-8.4 is only for mosflm,
which I guess doesn't use bltwish

Andreas Förster wrote:
Somehow I missed Mark Del Campo's
path-towards-a-working-tcltk/blt/wish-email. But does it have to be
that complicated? On RHEL 6.1, 64-bit, CCP4 6.2 I do:

1. edit 1 line in ccp4.setup-bash (export
CCP4I_TCLTK=$CCP4_MASTER/tcltk++/bin)

2. install Activestate's tcltk 8.5.9.1 from
https://www.activestate.com/activetcl/downloads/

3. go to /path/to/ActiveTcl-8.5/bin and install one additional package:
./teacup install --with-recommends Iwidgets

4. add 1 line to .bashrc (export
MOSFLM_WISH=/path/to/ActiveTcl-8.5/bin/wish)

5. open a new terminal: imosflm and ccp4i work (as far as I have tested)


Andreas



On 09/08/2011 2:46, Edward A. Berry wrote:
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




--
Andreas Förster, Research Associate
Paul Freemont & Xiaodong Zhang Labs
Department of Biochemistry, Imperial College London
http://www.msf.bio.ic.ac.uk

Reply via email to