in reply to Using Perlbrew macOS impossible to install distributions
"Using Perlbrew macOS impossible to install distributions"
That's an erroneous generalisation. I've been installing Perl distributions on macOS (previously Mac OS X) since either v10.5.x or v10.6.x; the latest was on v10.12.5. I think "High Sierra" is v10.13.x: I don't have this upgrade yet, but I haven't encountered any reports of specific Perlbrew problems with this macOS version. I currently have all of these distributions installed:
$ perlbrew list perl-5.14.0t perl-5.14.2 perl-5.14.2t perl-5.18.0t perl-5.18.1t perl-5.20.0t perl-5.20.2t perl-5.22.0t perl-5.24.0t perl-5.25.9t * perl-5.26.0t
So, that includes the 5.22.0 you say you're having problems with; maybe there are others in that list which you've tried as well (you didn't specify what others you'd tried).
"To start using Perlbrew, I open the Terminal and write source ~/perl5/perlbrew/etc/bashrc"
I've never needed to do this; although, to be perfectly honest, I'm not entirely sure what you mean by this (I can make an educated guess, but it's still only a guess). If you put command line commands and output within <code>...</code> tags, as I did with "perlbrew list" above, it'll make what you're actually doing a lot clearer.
Almost at the end of my "~/.bash_profile", I have:
. $HOME/.bashrc
My "~/.bashrc" starts with:
. ~/perl5/perlbrew/etc/bashrc
Perhaps you need something similar to this.
You can also take a look at this post of mine from last month: the underlying issue is unrelated to your problem but it does show how I normally perform installations. When I use this method, "everything works for me out-of-the-box".
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Perlbrew macOS impossible to install distributions
by karlgoethebier (Abbot) on Nov 27, 2017 at 11:46 UTC | |
by kcott (Archbishop) on Nov 27, 2017 at 20:40 UTC | |
by karlgoethebier (Abbot) on Nov 28, 2017 at 08:56 UTC |