tokuhirom / plenv

Perl binary manager
Other
516 stars 71 forks source link

plenv install fails with "newer" Perls #169

Closed augensalat closed 4 years ago

augensalat commented 4 years ago
$ plenv install 5.28.3
Installing 5.28.3 as 5.28.3
/usr/bin/perl -- /home/graf/.anyenv/envs/plenv/plugins/perl-build/bin/perl-build --symlink-devel-executables --build-dir /home/graf/.anyenv/envs/plenv/build/1593551434.16161/ --tarball-dir /home/graf/.anyenv/envs/plenv/cache/ -Dusedevel 5.28.3 /home/graf/.anyenv/envs/plenv/versions/5.28.3
WARN: [cpan_perl_releases] not found the tarball for perl-5.28.3
WARN: [perl_releases_page] This page is 3 or more days old. ignore
WARN: [search_cpan_org] not found the tarball for perl-5.28.3
ERROR: Cannot find the tarball for perl-5.28.3
ABORT

The reason is probably here: http://perl-releases.s3-website-us-east-1.amazonaws.com/ Who maintains that page?

But even some of the references on that outdated page seem wrong:

$ plenv install 5.25.12
Installing 5.25.12 as 5.25.12
/usr/bin/perl -- /home/graf/.anyenv/envs/plenv/plugins/perl-build/bin/perl-build --symlink-devel-executables --build-dir /home/graf/.anyenv/envs/plenv/build/1593551390.15789/ --tarball-dir /home/graf/.anyenv/envs/plenv/cache/ -Dusedevel 5.25.12 /home/graf/.anyenv/envs/plenv/versions/5.25.12
Fetching 5.25.12 as /home/graf/.anyenv/envs/plenv/cache/perl-5.25.12.tar.gz (http://www.cpan.org/authors/id/X/XS/XSAWYERX/perl-5.25.12.tar.gz)
Cannot get file from http://www.cpan.org/authors/id/X/XS/XSAWYERX/perl-5.25.12.tar.gz: 404 Not Found at /home/graf/.anyenv/envs/plenv/plugins/perl-build/bin/../lib/Perl/Build.pm line 187.
ABORT
Grinnz commented 4 years ago

Make sure to update the version of perl-build you have as a "plugin" as mentioned in step 5 at https://github.com/tokuhirom/plenv#installation. Recent versions should use metacpan to find the new releases.

augensalat commented 4 years ago

Make sure to update the version of perl-build you have as a "plugin" as mentioned in step 5 at https://github.com/tokuhirom/plenv#installation. Recent versions should use metacpan to find the new releases.

Bingo! Of course I already installed that plugin years ago. But meanwhile it was 87 commits behind origin. :-/ git pull solved it.

But this is mean!

FAQ?

Grinnz commented 4 years ago

It would definitely be nice if plenv install yelled at you if it was out of date and provided an easy command to update it, maybe.