# Install Homebrew (from https://brew.sh)
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Use Homebrew to install some stuff MacOSx doesn't normally have:
$ brew install wget
$ brew install tcl-tk # Needed due to apple's old, buggy, version
$ brew install tkdiff
$ brew install gawk
$ brew install perl
$ brew install --cask xquartz # Needed for X11 on Mac
# Use CPAN shell to install perl modules
$ /opt/homebrew/bin/perl -MCPAN -e shell
install Term::ReadLine::Perl
install CPAN
reload CPAN
install YAML
install Tk
####
...
/Library/Developer/CommandLineTools/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `test_dynamic'.
make[2]: Nothing to be done for `test_dynamic'.
"/opt/homebrew/Cellar/perl/5.36.0/bin/perl" "-I../t" "-MTkTest" "-e" "checked_test_harness('../xt', 0, '../blib/lib', '../blib/arch')" t/*.t
t/basic.t .. Failed 4/5 subtests
t/crash.t .. Failed 1/1 subtests
Test Summary Report
-------------------
t/basic.t (Wstat: 11 (Signal: SEGV) Tests: 1 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 5 tests but ran 1.
t/crash.t (Wstat: 11 (Signal: SEGV) Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=2, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.09 cusr 0.01 csys = 0.11 CPU)
Result: FAIL
Failed 2/2 test programs. 0/1 subtests failed.
make[1]: *** [test_dynamic] Error 255
make: *** [subdirs-test_dynamic] Error 2
SREZIC/Tk-804.036.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SREZIC/Tk-804.036.tar.gz
Failed during this command:
SREZIC/Tk-804.036.tar.gz : make_test NO
####
install CPAN::DistnameInfo
...
install Tk
...
/Library/Developer/CommandLineTools/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `test_dynamic'.
make[2]: Nothing to be done for `test_dynamic'.
"/opt/homebrew/Cellar/perl/5.36.0/bin/perl" "-I../t" "-MTkTest" "-e" "checked_test_harness('../xt', 0, '../blib/lib', '../blib/arch')" t/*.t
t/basic.t .. 1/5
####
ID COMMAND %CPU TIME #TH #WQ #PORTS MEM PURG
47971 perl 99.7 37:19.27 1/1 0 10 15M 0B