Thanks - though not exactly my idea of baby steps ;-)
Having installed App::perbrew, curl, and perlbrew, when I run:
perlbrew install perl-5.6.2
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:
PERLBREW_CPAN_MIRROR
The CPAN mirror url of your choice. The default value is
"http://www.cpan.org"
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 !!!
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.