Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 kcott (Archbishop)
on Jan 07, 2022 at 06:55 UTC ( #11140238=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?

G'day nysus,

The first thing that leapt out at me was:

Current perl: Using system perl. Shebang: #!/usr/bin/perl

That looks very wrong to me. One the main reasons for using perlbrew is that you avoid messing with the system perl.

I used to use perlbrew on macOS but haven't since about 2018/2019. I no longer have the Mac machine, so can't help with any direct testing. I do not recall output like that, but that's just a 4-5 year old memory.

I'm currently running perlbrew on Cygwin. I get:

$ perlbrew info Current perl: Name: perl-5.34.0 Path: /home/ken/perl5/perlbrew/perls/perl-5.34.0/bin/perl ...

What does `perlbrew info` output when run from the new (apparently, problem-free) account?

Did you accidentally `perlbrew switch` to the system perl on the old (problematic) account? If so, try switching to the last working perlbrew perl version and see if that helps.

— Ken

  • 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 14:46 UTC

    I don't think this is the issue. It just means I have perlbrew swithced off. When I install 5.34.0 with the second account, I am also using system perl because no other perl is installed.

    $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://11140238]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-08-14 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?