Thank you, marto. I ran prove as recommended:
chap@Retsina:...rk/1688073614.30084/Tk-804.036$ pwd /Users/chap/.cpanm/work/1688073614.30084/Tk-804.036 chap@Retsina:...rk/1688073614.30084/Tk-804.036$ prove -v PNG/t/basic.t PNG/t/basic.t .. 1..5 ok 1 - use Tk::PNG; Failed 4/5 subtests Test Summary Report ------------------- PNG/t/basic.t (Wstat: 11 Tests: 1 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 5 tests but ran 1. Files=1, Tests=1, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.16 cusr + 0.02 csys = 0.22 CPU) Result: FAIL
I am by now well out of my depth, so I can't dig any further into this :-). I'm inclined not to suspect the clang compiler, since it fails in the same test for either compiler.

I did install perl-5.30.3 on M1 MacOS 13.4.1, and successfully ran cpanm Tk.

To OP: is installing a more recent version of Perl an option?


In reply to Re^4: Tk-804.036 build failure by ibm1620
in thread Tk-804.036 build failure by perlboy_emeritus

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.