Re: [ccp4bb] BLT wish
Hi Bill Sorry, I was tired! Yes, I agree entirely. Trying to maintain one's own working TclTk from source is not straightforward, and best avoided. CCP4 know this and are working hard to remedy the situation! On 17 Aug 2011, at 23:31, William Scott wrote: On Aug 17, 2011, at 3:25 PM, Harry wrote: Hi Bill I don't think this includes BLT, does it? No. That was what I was trying to say (apparently not very well, sorry!): On 17 Aug 2011, at 22:33, William Scott wrote: if CCP4 could free itself of this dependency... …then it could make use of the no-BLT version of tcl/tk provided with OS X 10.6 and 10.7. Harry -- Dr Harry Powell, MRC Laboratory of Molecular Biology, MRC Centre, Hills Road, Cambridge, CB2 0QH
Re: [ccp4bb] BLT wish
On Aug 17, 2011, at 3:25 PM, Harry wrote: > Hi Bill > > I don't think this includes BLT, does it? No. That was what I was trying to say (apparently not very well, sorry!): > > On 17 Aug 2011, at 22:33, William Scott wrote: > >> if CCP4 could free itself of this dependency... …then it could make use of the no-BLT version of tcl/tk provided with OS X 10.6 and 10.7.
Re: [ccp4bb] BLT wish
Yeah, it was a totally delightful interaction. So much for the Ubuntu spread the love of humanity theme. They have successfully migrated from figure 3 to figure 2: http://bandcamp.tv/linux-demotivators/ As for BLT, my sense (being the unfortunate maintainer for it on fink) is that it is dead in the water, and if CCP4 could free itself of this dependency, those who insist upon using the GUI instead of the infinitely simpler and more elegant command-line interface could use the OS X native port of tcl/tk. --Bill On Aug 17, 2011, at 6:34 AM, Edward A. Berry wrote: > Seems to me the CCP4 change is exactly in line with the developers' > response to wgscott's bug report at: > https://bugs.launchpad.net/ubuntu/+source/blt/+bug/19148 > > You have to have the BLT package, whether you shell bltwish or wish. > Modern BLT package doesn't contain bltwish, because > "not a bug. It doesn't make sense to provide a separate shell for each Tcl > Extension. . . . > just use wish for your scripts: > > #!/usr/bin/wish > package require BLT > [...] " > > > Phil Evans wrote: >> In previous CCP4 releases CCP4/ccp4i/bin/loggraph used "bltwish" >> >> exec $CCP4I_TCLTK/bltwish "$0" -- ${1+"$@"} >> >> In 6.2.0 this has mutated to >> >> exec $CCP4I_TCLTK/wish "$0" -- ${1+"$@"} >> >> which doesn't work on our systems, see error below >> >> I've fixed it by changing back to the previous exec bltwish, but does this >> new version work for other people? Should it work for me, and with what >> version of TCL? >> >> (I look forward to replacing loggraph!) >> >> Phil >> >> Error in startup script: can't find package BLT >>while executing >> "package require BLT" >>(file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph.tcl" >> line 47) >>invoked from within >> "source [file join $env(CCP4I_TOP) bin loggraph.tcl]" >>(file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph" line 5) >> William G. Scott Contact info: http://chemistry.ucsc.edu/~wgscott/
Re: [ccp4bb] BLT wish
Seems to me the CCP4 change is exactly in line with the developers' response to wgscott's bug report at: https://bugs.launchpad.net/ubuntu/+source/blt/+bug/19148 You have to have the BLT package, whether you shell bltwish or wish. Modern BLT package doesn't contain bltwish, because "not a bug. It doesn't make sense to provide a separate shell for each Tcl Extension. . . . just use wish for your scripts: #!/usr/bin/wish package require BLT [...] " Phil Evans wrote: In previous CCP4 releases CCP4/ccp4i/bin/loggraph used "bltwish" exec $CCP4I_TCLTK/bltwish "$0" -- ${1+"$@"} In 6.2.0 this has mutated to exec $CCP4I_TCLTK/wish "$0" -- ${1+"$@"} which doesn't work on our systems, see error below I've fixed it by changing back to the previous exec bltwish, but does this new version work for other people? Should it work for me, and with what version of TCL? (I look forward to replacing loggraph!) Phil Error in startup script: can't find package BLT while executing "package require BLT" (file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph.tcl" line 47) invoked from within "source [file join $env(CCP4I_TOP) bin loggraph.tcl]" (file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph" line 5)
Re: [ccp4bb] BLT wish
Dear Phil, for me (RHEL 6.1, 64-bit, ccp4 6.2), loggraph works with wish but requires bltwish. The command is exec $CCP4I_TCLTK/wish "$0" -- ${1+"$@"} but if I set export CCP4I_TCLTK=/sharedSoftware/ActiveTcl-8.5/bin I get the same error that you report because ActiveTcl-8.5 doesn't contain bltwish, which is required in loggraph.tcl. When I set export CCP4I_TCLTK=$CCP4_MASTER/tcltk++/bin I don't get the error. Andreas On 17/08/2011 10:22, Phil Evans wrote: In previous CCP4 releases CCP4/ccp4i/bin/loggraph used "bltwish" exec $CCP4I_TCLTK/bltwish "$0" -- ${1+"$@"} In 6.2.0 this has mutated to exec $CCP4I_TCLTK/wish "$0" -- ${1+"$@"} which doesn't work on our systems, see error below I've fixed it by changing back to the previous exec bltwish, but does this new version work for other people? Should it work for me, and with what version of TCL? (I look forward to replacing loggraph!) Phil Error in startup script: can't find package BLT while executing "package require BLT" (file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph.tcl" line 47) invoked from within "source [file join $env(CCP4I_TOP) bin loggraph.tcl]" (file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph" line 5) -- Andreas Förster, Research Associate Paul Freemont & Xiaodong Zhang Labs Department of Biochemistry, Imperial College London http://www.msf.bio.ic.ac.uk
Re: [ccp4bb] BLT wish
On 17/08/11 10:49, Phil Evans wrote: Roll on the loggraph replacement! Next month ?
Re: [ccp4bb] BLT wish
It doesn't seem to work out of the box on Centos5.6, nor on Scientific Linux 6. On SL6 I think we had to install yet another TCLTK from somewhere (can't remember) to get BLT, and with that one using "wish" does work Roll on the loggraph replacement! Phil On 17 Aug 2011, at 10:38, Tim Gruene wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Phil, > > 'wish' works on Debian (stable upwards) (and therefore probably also on > Ubuntu) where blt is hidden in a library, and it works greatly - I used > to do the opposite, i.e. changing bltwish into wish but e.g. loggraph > did not work properly that way. > > Best wishes, Tim > > On 08/17/2011 11:22 AM, Phil Evans wrote: >> In previous CCP4 releases CCP4/ccp4i/bin/loggraph used "bltwish" >> >> exec $CCP4I_TCLTK/bltwish "$0" -- ${1+"$@"} >> >> In 6.2.0 this has mutated to >> >> exec $CCP4I_TCLTK/wish "$0" -- ${1+"$@"} >> >> which doesn't work on our systems, see error below >> >> I've fixed it by changing back to the previous exec bltwish, but does this >> new version work for other people? Should it work for me, and with what >> version of TCL? >> >> (I look forward to replacing loggraph!) >> >> Phil >> >> Error in startup script: can't find package BLT >> while executing >> "package require BLT" >> (file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph.tcl" >> line 47) >> invoked from within >> "source [file join $env(CCP4I_TOP) bin loggraph.tcl]" >> (file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph" line 5) >> > > - -- > - -- > Dr Tim Gruene > Institut fuer anorganische Chemie > Tammannstr. 4 > D-37077 Goettingen > > GPG Key ID = A46BEE1A > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iD8DBQFOS4wOUxlJ7aRr7hoRAk2HAKDxGHgG7CPreyN2jgNs3vIVlHJ57ACeLATc > I5xWGzXb1I38VEPgDS2qUms= > =5UU/ > -END PGP SIGNATURE-
Re: [ccp4bb] BLT wish
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Phil, 'wish' works on Debian (stable upwards) (and therefore probably also on Ubuntu) where blt is hidden in a library, and it works greatly - I used to do the opposite, i.e. changing bltwish into wish but e.g. loggraph did not work properly that way. Best wishes, Tim On 08/17/2011 11:22 AM, Phil Evans wrote: > In previous CCP4 releases CCP4/ccp4i/bin/loggraph used "bltwish" > > exec $CCP4I_TCLTK/bltwish "$0" -- ${1+"$@"} > > In 6.2.0 this has mutated to > > exec $CCP4I_TCLTK/wish "$0" -- ${1+"$@"} > > which doesn't work on our systems, see error below > > I've fixed it by changing back to the previous exec bltwish, but does this > new version work for other people? Should it work for me, and with what > version of TCL? > > (I look forward to replacing loggraph!) > > Phil > > Error in startup script: can't find package BLT >while executing > "package require BLT" >(file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph.tcl" > line 47) >invoked from within > "source [file join $env(CCP4I_TOP) bin loggraph.tcl]" >(file "/public/xtal/CCP4/ccp4-64/ccp4-6.2.0-c5/ccp4i/bin/loggraph" line 5) > - -- - -- Dr Tim Gruene Institut fuer anorganische Chemie Tammannstr. 4 D-37077 Goettingen GPG Key ID = A46BEE1A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFOS4wOUxlJ7aRr7hoRAk2HAKDxGHgG7CPreyN2jgNs3vIVlHJ57ACeLATc I5xWGzXb1I38VEPgDS2qUms= =5UU/ -END PGP SIGNATURE-