Date: Mon, 26 Mar 2007 21:34:21 +0000 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-questions@freebsd.org Subject: Re: What happened to my Perl installation??? Message-ID: <46083C5D.8080009@u.washington.edu> In-Reply-To: <46083AFC.8040804@u.washington.edu> References: <BAY131-F273FB7EDB5E49327F45228BA6F0@phx.gbl> <46083AFC.8040804@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46083C5D.8080009>