Open jkeenan opened 11 months ago
Is there anyway I (an enduser of perlbrew) can get around this?
I got around it by manually downloading the .tar.gz
files for several releases from CPAN, then using the documented syntax for installing from tarball.
Nonetheless, perlbrew
should be fixed to not search for . bz2
tarballs. Perl is no longer being released in that format.
perlbrew gets its list of available perls from metacpan at https://fastapi.metacpan.org/v1/release/versions/perl which has links from cpan.metacpan.org which still has the .bz2 files, while perlbrew tries to download from www.cpan.org which doesn't.
To fix this, perlbrew should be downloading from https://cpan.metacpan.org/authors/id/S/SH/SHAY/ not https://www.cpan.org/authors/id/S/SH/SHAY/
edited to update: I just installed 5.34.3 and it downloaded it from http://www.cpan.org/src/5.0/perl-5.34.3.tar.gz which is not what the link on the fastapi page says, so clearly I have not looked into this enough to comment on what the bug really is.
perlbrew gets its list of available perls from metacpan at https://fastapi.metacpan.org/v1/release/versions/perl which has links from cpan.metacpan.org which still has the .bz2 files, while perlbrew tries to download from www.cpan.org which doesn't.
To fix this, perlbrew should be downloading from https://cpan.metacpan.org/authors/id/S/SH/SHAY/ not https://www.cpan.org/authors/id/S/SH/SHAY/
edited to update: I just installed 5.34.3 and it downloaded it from http://www.cpan.org/src/5.0/perl-5.34.3.tar.gz which is not what the link on the fastapi page says, so clearly I have not looked into this enough to comment on what the bug really is.
Thanks for that information. I wonder if this is something that can be addressed at the upcoming Perl QA summit?
perlbrew available
tells me that I should be able to install 5.20.3 and 5.22.4 with this application:However, when I call
perlbrew install
for each version, the command is searching for a tarball in.bz2
format which is no longer found in the relevant releasor's directory on CPAN.Going to Steve Hay's directory on CPAN, I observe that he no longer keeps
.bz2
tarballs in stock -- only.tar.gz
and.tar.xz
.I know that on an older laptop I was able to use perlbrew to install many perl versions from this timespan. I have not yet investigated which other versions might no longer be findable via
perlbrew install
.Is there anyway I (an enduser of perlbrew) can get around this?