On 9/9/07, Dirk Heinrichs <[EMAIL PROTECTED]> wrote: > > Am Samstag, 8. September 2007 schrieb Kevin O'Gorman: > > On 9/8/07, Dirk Heinrichs <[EMAIL PROTECTED]> wrote: > > > Am Samstag, 8. September 2007 schrieb Kevin O'Gorman: > > > > Unfortunately, while it tries to do a number of things, they all > fail > > > > in the same way: a problem with Errno.pm. > > > > I guess using perl to clean up perl is not all that robust in this > > > > case. > > > > > > I still prefer good old cpan over gentoo' g-cpan to mainatain perl > > > modules. > > > > > > Before upgrading perl, fire up cpan, create a bundle file of all your > > > installed modules using the autobundle command and after the upgrade, > > > start > > > cpan again and run "install Bundle::Snapshot-<date>". > > > > > > I also use it to keep installed perl modules uptodate. Just use the > > > "upgrade" > > > command in cpan. > > > > > > If you did this, you can simply remove the old 5.8.x directories. > > > > It's too late for me now to do any of that. > > No, not really. You only need perl to run cpan. > > > I can build perl, but I cannot run perl-cleaner. > > You don't need to. Remove the old 5.8.x directories and install the > modules > you had installed there again (if needed), using cpan this time. You can > find > out which packages were installed by searching for files named > ".packlist". > Each directory which contains such a file corresponds to one perl module. > > Eventually re-emerge perl after removal of the old directories. This > should > clean up your perl installation. > > HTH... > > Dirk
I eventually got most things back by removing the site-perl version of Errno.pm (installed by CPAN sometime in the past, I think.) There was another, more recent version which was apparently found automatically, allowing things to proceed. I have also removed a bunch of other things that were in site-perl, especially everything I could replace with a version from portage. I have now been able to run 'perl-cleaner reallyall', and have rebuilt perl both with and without the ithreads USE-flag (see separate thread). So I suppose I'm now in good shape. CPAN also works, though I'm a bit reluctant to use it since that's how I got in this mess in the first place. I'd rather rely on portage to keep things current and consistent. Hmmmm. Does anyone know how to run CPAN in a cron job, just enough to run the 'r' command? I do that with portage to tell me when I have to worry about revdep or depclean. ++ kevin -- Kevin O'Gorman, PhD