'Can't make csshX working on Mac OS Big Sur

csshX not working on Mac Big Sur.

Unimplemented: POSIX::tmpnam(): use File::Temp instead at /System/Library/Perl/5.28/darwin-thread-multi-2level/POSIX.pm line 185. Unimplemented: POSIX::tmpnam() at /usr/local/bin/csshX line 1130. BEGIN failed--compilation aborted at /usr/local/bin/csshX line 1130.



Solution 1:[1]

change line create tmp file in CsshX.iterm

use POSIX   qw(tmpnam);

by

use File::Temp  qw(tmpnam);

Solution 2:[2]

Replace first line of the csshX with perl5.18 version.

Edit csshX file and replace the first line #!/usr/bin/perl with #!/usr/bin/perl5.18

Solution 3:[3]

I fixed mine by

  • add the write permision for all user on the file /usr/local/bin/csshX

     chmod ugo+w /usr/local/bin/csshX
    
  • edit the file /usr/local/bin/csshX by updating the first line from #!/usr/bin/perl with #!/usr/bin/perl5.18

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shb.A
Solution 2 Erik McKelvey
Solution 3 onlyme