in reply to Perl Tk on a Mac

what's the problem?

I mean the *first* problem that comes about?

Replies are listed 'Best First'.
Re^2: Perl Tk on a Mac
by choroba (Cardinal) on Mar 20, 2025 at 10:17 UTC
    Well, the main problem is I don't have a Mac, and a client is coming today to have the software installed :-)

    But there were reports from users the old installer stopped working. All their attempts seem to lead to #66.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      Perhaps install Perl via Homebrew, then install Perl Tk with that?

        I have Perl installed with perlbrew and configuration of the Tk package is failing with:

        checking whether the C compiler (cc -fno-common -DPERL_DARWIN -mmacosx-version-min=14.7 -DNO_THREAD_SAFE_QUERYLOCALE -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -fno-common -DPERL_DARWIN -mmacosx-version-min=14.7 -DNO_THREAD_SAFE_QUERYLOCALE -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -mmacosx-version-min=14.7 -fstack-protector-strong -L/usr/local/lib) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ERROR from evaluation of /Users/ntonkin/.cpanm/work/1742471200.46755/Tk-804.036/JPEG/Makefile.PL: ERROR from evaluation of /Users/nick/.cpanm/work/1742471200.46755/Tk-804.036/JPEG/jpeg/Makefile.PL: Error opening Makefile: No such file or directory at ./Makefile.PL line 41.

        I installed gcc from Homebrew but it did not change the error message.


        The way forward always starts with a minimal test.
Re^2: Perl Tk on a Mac
by karlgoethebier (Abbot) on Mar 21, 2025 at 10:13 UTC