Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip

by Anonymous Monk
on Oct 05, 2022 at 10:20 UTC ( [id://11147255]=note: print w/replies, xml ) Need Help??


in reply to Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip

Tk.pm doesnt depend on tcl-tk

if a test is failing, run the file individually, and identify the file for us

dot dot dot isnt a full path name ;)

Replies are listed 'Best First'.
Re^2: Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip
by cmv (Chaplain) on Oct 05, 2022 at 14:27 UTC
    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
      I'm having the same problem. What was the resolution of this error?
        I have Tk installed and tried to run basic.t. It failed because XQuartz was not running. Started up XQuartz and it failed to find pngtest.png in my homedir. Once that file was in place PNG/t/basic.t passed all tests. Make sure XQuartz is running.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147255]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found