bltwish isn't installed "by policy" on other linux strains as well. They have to go to the trouble to take it out of the package, which seems asinine to me. (I offered this observation to the blt maintainer on ubuntu in my usual cheerful and optimistic way, but the suggestion to include it was rejected as if I had suggested implanting a dog's pancreas in his first-born child).
Since blt also won't play nicely with tcl/tk 8.5.X (you have to hack it), I wonder if it might be time to migrate to something else for the graphing functions (which won't work with the symbolic link described below)
On Jan 3, 2010, at 6:09 PM, Takanori MATSUURA wrote:
> Ah, sorry.
>
> bltwish command itself is not installed by the policy of Fedora.
>
> https://fedoraproject.org/wiki/Packaging:Tcl
> No shells: Very few Tcl extension packages provide a shell. Providing a shell for an extension is frowned upon. The extension's shared library can be dynamically loaded into a Tcl interpreter through the standard package require ... mechanism without providing a shell that automatically loads the shared library. The exceptions to this rule are the shells that are commonly expected to be present on a system, including Tk (wish) and Expect (expect, expectk).
>
> You need to type
> cd /usr/bin
> # ln -s wish /usr/bin/bltwish
> or to change scripts which call bltwish to call wish.
>
>
> Takanori
>
>
> Paul Paukstelis wrote:
>> Hi Takanori,
>>
>> how did you get around the fact that bltwish is not installed with these
>> packages? CCP4i still looks for it.
>>
>> --paul
>>
>> On 01/01/2010 12:33 AM, Takanori MATSUURA wrote:
>>> Now Tcl/Tk tools bundled with Fedora 12 (need to update to the latest)
>>> works good for CCP4i/imosflm.
>>>
>>> Please try installing tcl, tk, blt, itcl, itk, tkimg, tcl-tktreectrl,
>>> iwidgets, and tdom packages and set $CCP4I_TCLTK to /usr/bin.
>>>
>>>
>>> Takanori
>>>
>>>
>>> -------- Original Message --------
>>> Subject: [ccp4bb] SOLUTION: tcl/tk issue with ccp4 installation 64-bit
>>> fedora12
>>> From: Mark Del Campo <[log in to unmask]>
>>> Date: Thu Dec 31 2009 04:13:38 GMT+0900 (JST)
>>>
>>>> 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
|