public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kevin O'Gorman" <kogorman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cleaning up perl
Date: Sun, 9 Sep 2007 07:55:45 -0700	[thread overview]
Message-ID: <9acccfe50709090755v674365d8rd92766b5ff83f75c@mail.gmail.com> (raw)
In-Reply-To: <200709090936.00783.dirk.heinrichs@online.de>

[-- Attachment #1: Type: text/plain, Size: 2553 bytes --]

On 9/9/07, Dirk Heinrichs <dirk.heinrichs@online.de> wrote:
>
> Am Samstag, 8. September 2007 schrieb Kevin O'Gorman:
> > On 9/8/07, Dirk Heinrichs <dirk.heinrichs@online.de> 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

[-- Attachment #2: Type: text/html, Size: 3328 bytes --]

  reply	other threads:[~2007-09-09 15:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 15:13 [gentoo-user] Cleaning up perl Kevin O'Gorman
2007-09-08 15:58 ` Mike Williams
2007-09-08 16:45   ` Kevin O'Gorman
2007-09-08 16:59     ` Dirk Heinrichs
2007-09-08 20:22       ` Kevin O'Gorman
2007-09-09  7:35         ` Dirk Heinrichs
2007-09-09 14:55           ` Kevin O'Gorman [this message]
2007-09-09 15:20             ` Dirk Heinrichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9acccfe50709090755v674365d8rd92766b5ff83f75c@mail.gmail.com \
    --to=kogorman@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox