I had a similar problem on a recent upgrade -- I had put a copy of Perl
into a local directory for folks who needed it, and it was at a higher
priority than the newly installed version in my path list. I copied the
new one into the old one's spot, and everything works fine.

--- Casey West <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 23, 2001 at 01:06:06PM -0500, Boex,Matthew W. wrote:
> : 
> :     when i try to run perldoc, i get the following error.  do i need
> to
> : alter perldoc itself?  i can run all sorts of other perl programs
> :     with modules just fine.
> 
> From below, it seems that you have a perldoc built for Perl 5.6.x but
> only have 5.005.  This is wierd.
> 
> To fix this problem you can:
> 
> A. Get a copy of perldoc for 5.005 from another Perl distribution.
> B. Build a new Perl distribution
> C. Try to compile the warnings module from CPAN.
> 
> Honestly, I'm confused.  This isn't supposed to happen on a normal
> install.
> 
> 
> : > [boex@rootabega boex]$ perldoc
> : > Can't locate warnings.pm in @INC (@INC contains:
> : > /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> : > /usr/lib/perl5/site_perl/5.005/i386-linux
> /usr/lib/perl5/site_perl/5.005
> : > .) at /usr/local/bin/perldoc line 5.
> : > BEGIN failed--compilation aborted at /usr/local/bin/perldoc line
> 5.
> 
> -- 
> Casey West


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to