What happened to my Perl installation???

Garrett Cooper youshi10 at u.washington.edu
Mon Mar 26 04:34:09 UTC 2007


Garrett Cooper wrote:
> 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
Here's a printout of my /usr/local/lib/perl/5.8.8 directory. Maybe you
can send it through diff and figure out what's not there -- assuming you
don't reinstall first which I think might be a better idea to be honest
since it sounds like Perl's pretty mucked up:
http://students.washington.edu/youshi10/posted/perl_printout.txt


More information about the freebsd-questions mailing list