Here is the relavent pstree output for the hanging processes:

... \-+= 03627 cmv /Library/Developer/CommandLineTools/usr/bin/make + test \-+- 05377 cmv /bin/sh -c cd PNG && make test_dynamic LIBPERL +_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O3" PREFIX="/opt/homebre +w/opt/perl" PASTHRU_DEFINE=' ' PASTHRU_INC='-I/usr/X11R6/include -I/o +pt/X11/include/freetype2 ' \-+- 05378 cmv /Library/Developer/CommandLineTools/usr/bin/ +make test_dynamic LIBPERL_A=libperl.a LINKTYPE=dynamic OPTIMIZE=-O3 P +REFIX=/opt/homebrew/opt/perl PASTHRU_DEFINE= PASTHRU_INC=-I/usr/X11R +6/include -I/opt/X11/include/freetype2 \-+- 05444 cmv /opt/homebrew/Cellar/perl/5.36.0/bin/perl +-I../t -MTkTest -e checked_test_harness('../xt', 0, '../blib/lib', '. +./blib/arch') t/basic.t t/crash.t \--- 05446 cmv /opt/homebrew/Cellar/perl/5.36.0/bin/per +l -w t/basic.t

Running the following command from the CPAN build directory (/Users/cmv/.cpan/build/Tk-804.036-0) causes the hang:

/bin/sh -c cd PNG && make test_dynamic LIBPERL_A="libperl.a" LINKTYPE= +"dynamic" OPTIMIZE="-O3" PREFIX="/opt/homebrew/opt/perl" PASTHRU_DEFI +NE=' ' PASTHRU_INC='-I/usr/X11R6/include -I/opt/X11/include/freetype2 + '
The file that it seems to be hanging on is:
/Users/cmv/.cpan/build/Tk-804.036-0/PNG/t/basic.t

In reply to Re^2: Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip by cmv
in thread Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip by cmv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.