clusterssh broken with new Tk

Help
JW Smythe
2009-02-23
2013-06-03
  • JW Smythe
    JW Smythe
    2009-02-23

      I recently upgraded my machine, and have now found that clusterssh isn't working. 

      I did a little research, and it appears to be a bug in the current release of Perl Tk, which some distros have been patching to correct.  Unfortunately, I update from CPAN, not with the distro, so I'm stuck with the unpatched version of Tk. 

      I haven't managed to find the patch for Tk either. 

    Here's the error:

    user@sysadmin42 (/home/user) cssh
    no event type or button # or keysym at /usr/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 1105.
    at /usr/local/bin/cssh line 1457

    My versions are:
    clusterssh: 3.24 (just downloaded and reinstalled about 10 minutes ago)
    Tk: 804.028
    Perl:  v5.10.0 built for x86_64-linux-thread-multi
    OS: Slamd64 12.2.0
    Kernel:  Linux sysadmin42 2.6.27.10 #2 SMP PREEMPT Fri Jan 16 17:37:08 EST 2009 x86_64 AMD Athlon(tm) 64 Processor 3800+ AuthenticAMD GNU/Linux

     
    • JW Smythe
      JW Smythe
      2009-03-18

        In case anyone else runs into this problem, I found the problem and the fix.  It's not a cssh problem directly, but since it breaks it, you should know how to fix it. :)

        Tk-804.028 , released 18-Dec-2007 has a bug in it.

        There have been two dev releases since then.  I can confirm that dev release Tk-804.028_501 fixes the bug.

        It doesn't seem to be available through the cpan module, but it is available on CPAN.org. 

      http://search.cpan.org/~srezic/Tk-804.028_501/

        Grab it, compile it, and install it.  You'll be fine after that.

        For newbies:

      perl Makefile.pl
      make
      make install

       
    • bl3h
      bl3h
      2009-06-01

      Thank you for posting the fix dude.  It worked great!