Actually, I was just *guessing* that "restoring" ActivePerl-5.14 from a profile file that listed the 5.10 values for ACTIVEPERL VERSION and the repository HREF would cause problems. PERL VERSION and PPM VERSION (which I failed to notice at my first glance at a generated profile file) would also be set to the 5.10 values instead of the 5.14 ones.
Re^3: ppm profile failed: Can't determine best
Replies are listed 'Best First'.
Funnily enough, the file in question was an old freind :)
/me withdraws the bat and impassively watches as the ball passes through to the keeper ... ;-)
It really is a pitfa that ActiveState decided to add this "feature" to PPM ... and that they implemented it in the way they have. There are a number of solutions, including the ones that you and bulk88 came up with - but none with which I'm (yet) all that comfortable.
Btw, PAR-Dist-InstallPPD will install the ppm packages without any problems - but it's not sophisiticated enough to deal automatically with pre-requisite modules and post install scripts. (Here's a demo script that installs PDL and dependencies using that module.)
Maybe I should get a version released that *does* understand how to handle post-install scripts and prerequisite modules. It's probably not of great interest to those who have ActivePerl, but is handy for any perl distros that don't have a satisfactory PPM utility.
Unfortunately, running it again means it re-downloads everything it had already downloaded
I would have hoped that it would be a simple editing operation to remove those packages that had already been installed from the profile file (prior to running again). Of course, if the upgrade doesn't process those packages in the same sequence as they are listed in the profile file, then such editing will not be so simple ...
I would have hoped that it would be a simple editing operation to remove those packages that had already been installed from the profile file
It was unclear to me from the scant information displayed guring the first run whether the packages had been downloaded and installed; or just downloaded to then be installed. Mercifully, most ppms are relatively small and the process runs quite quickly < 10 minutes for close to 300 packages.
Certainly a lot faster than rebuilding and installing all the cpan packages I am also transferring over.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.