ehowton: (Default)

Let's talk ClusterSSH on macOS. Because ugh.
ehowton@minime % brew install csshx
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
...
ehowton@minime % csshx
Unimplemented: POSIX::tmpnam(): use File::Temp instead at /System/Library/Perl/5.30/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.

According to StackOverflow, something with how the Perl they used to compile csshX was deprecated in the Perl included with Big Sur and Catalina. Easy fix:

# vi /usr/local/Cellar/csshx/0.74/bin/csshX

Replace:

use POSIX qw(tmpnam);

With

use File::Temp qw(tmpnam);

Works immediately.
◾ Tags:

June 2025

S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 1213 14
15161718192021
22232425262728
2930     

Most Popular Tags

Expand Cut Tags

No cut tags