Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Obtaining perl-5.6.2 for modern Ubuntu

by syphilis (Bishop)
on Mar 20, 2020 at 11:25 UTC ( #11114512=note: print w/replies, xml ) Need Help??


in reply to Re: Obtaining perl-5.6.2 for modern Ubuntu
in thread Obtaining perl-5.6.2 for modern Ubuntu

I used perlbrew and it installed pretty easily

Ok ... so how do I install "perlbrew" on Ubuntu, and then coerce it into building perl-5.6.2 for me ? (Baby steps please.)

I do have the 5.6.2 source tarball installed locally, and if perlbrew can build 5.6.2 on Ubuntu-18.x then I figure there's a good chance it can do the same on my Ubuntu-20.04.
I just tried building 5.6.2 on Debian wheezy (which must be years old by now) and struck the same issue. And I tried 5.6.1 as well ... but it's no different.

Don't we all just love people who want their stuff to build on ancient garbage that doesn't even build out of the box any more ?
For those of you struggling to come up with the correct answer to that question, it's a definite "yes!!".

(As in "yes ... we don't" ;-)
Cheers,
Rob
  • Comment on Re^2: Obtaining perl-5.6.2 for modern Ubuntu

Replies are listed 'Best First'.
Re^3: Obtaining perl-5.6.2 for modern Ubuntu
by bliako (Parson) on Mar 20, 2020 at 11:31 UTC

    from App::perlbrew:

    perlbrew install-patchperl; perlbrew install perl-5.6.2

    works for me (EDIT: Failed 3 test scripts out of 359, 99.16% okay.)

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114512]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2020-05-28 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (166 votes). Check out past polls.

    Notices?