http://www.perlmonks.org?node_id=11140244


in reply to How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another?

You say Perl installs when logged in on one account but fails when logged in on another. The code you exhibit forks, and the parent waits while the child execs command echo foo. It looks like on the failing account this command says 'hi'.

When you log in to the failing account and issue the command type echo, what do you get?

  • Comment on Re: How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another?
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another?
by nysus (Parson) on Jan 07, 2022 at 17:22 UTC

    OMG, I had an echo script in ~/bin.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      LOL!!! Good comedy for a Friday.

      Well, maybe something valuable can come out of this. The build log did catch that `echo` was not the correct one. It said so right in the log. But it's way at the top of the build log and very easy to miss. Maybe instead, at the bottom of the build log in big letters: "YOU'RE AN IDIOT!"

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks

Re^2: How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another?
by nysus (Parson) on Jan 07, 2022 at 14:49 UTC
    Yeah, that seemed weird to me, too. I get `echo is a shell builtin`. I'm using zsh.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks