|The stupid question is the question not asked|
Re^4: Obtaining perl-5.6.2 for modern Ubuntuby syphilis (Bishop)
|on Mar 20, 2020 at 12:17 UTC||Need Help??|
Thanks - though not exactly my idea of baby steps ;-)
Having installed App::perbrew, curl, and perlbrew, when I run:
it tries to download http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.6.2.tar.gz.
But my ISP won't allow downloads via http of more than 1015 bytes.
How do I tell perlbrew to download https://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.6.2.tar.gz instead ?
As I mentioned, I already have perl-5.6.2.tar.gz so an alternative would be to grab the source from the local directory.
EDIT: Failed 3 test scripts out of 359, 99.16% okay.
If I can just get make install to work then that'll probly be good enough for me ;-)
I'll see if I can work out how to get it to find the source ... might take me 2 minutes; might take me 2 hours ...
Update: Heh, I found the following gem in the perlbrew --help documentation:
No mention of how to alter the default, presumably because that could have been useful information.
I checked echo $PERLBREW_CPAN_MIRROR only to find it was empty, and I walked away uttering strings of expletives - which is my usual mode of behaviour.
About half an hour later, it occurred to me that maybe I should try setting the PERLBREW_CPAN_MIRROR env var to https://www.cpan.org just in case it might have the desired effect ... and it did !!
This is just typical of unfamiliar tools - they're documentation never tells you what you need to know ;-)
And therein lies my reticence to use them.
Anyway - it still hasn't given me a perl-5.6.2 installation.
More of that later as I follow it up.
Next Update: 2 of the tests failed during make test, but running cd /home/sisyphus/perl5/perlbrew/build/perl-5.6.2/perl-5.6.2; make install takes care of that and I now have a (hopefully) usable perl-5.6.2 installation.
As always, thanks guys !!!