What happened to my Perl installation???

Peter Matulis pmatulis at sympatico.ca
Mon Mar 26 04:40:31 UTC 2007




>From: Garrett Cooper <youshi10 at u.washington.edu>
>To: freebsd-questions at freebsd.org
>Subject: Re: What happened to my Perl installation???
>Date: Mon, 26 Mar 2007 21:28:28 +0000
>
>Peter Matulis wrote:
> > I did an upgrade of my ports and I got some errors regarding Perl
> > modules.  The system asked my to remove BSDPAN which I did.  Later I
> > discovered I had other problems updating certain ports because of
> > missing Perl parts.  This is part of the problem:
> >
> > $ perldoc BSDPAN
> > Can't locate File/Spec.pm in @INC (@INC contains:
> > /usr/local/lib/perl5/site_perl/5.8.8/mach
> > /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
> > /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .
> > /usr/local/lib/perl5/5.8.8/BSDPAN
> > /usr/local/lib/perl5/5.8.8/BSDPAN/..) at
> > /usr/local/lib/perl5/5.8.8/File/Spec/Functions.pm line 3.
> > BEGIN failed--compilation aborted at
> > /usr/local/lib/perl5/5.8.8/File/Spec/Functions.pm line 3.
> > Compilation failed in require at
> > /usr/local/lib/perl5/5.8.8/Pod/Perldoc.pm line 10.
> > BEGIN failed--compilation aborted at
> > /usr/local/lib/perl5/5.8.8/Pod/Perldoc.pm line 10.
> > Compilation failed in require at /usr/local/bin/perldoc line 9.
> > BEGIN failed--compilation aborted at /usr/local/bin/perldoc line 9.
> >
> > How do I fix up my Perl installation?
> >
> > Thank you very much.
> >
> > Peter
>Eep. That's not good. Have you tried reinstalling perl? I'm curious
>because according to CPAN it appears that File::Spec is a part of the
>base Perl system:
><http://search.cpan.org/~kwilliams/PathTools-3.24/lib/File/Spec.pm>.

Ok, I'm trying to reinstall now:

cd /usr/ports/lang/perl5.8
make reinstall

Peter




More information about the freebsd-questions mailing list