What happened to my Perl installation???

Garrett Cooper youshi10 at u.washington.edu
Mon Mar 26 04:28:16 UTC 2007


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>.

-Garrett



More information about the freebsd-questions mailing list