Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Anonymous Monk
on Jan 07, 2022 at 14:02 UTC ( #11140244=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-08-16 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?