[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to adjust @INC Path of Perl



On Tue, Feb 02, 1999 at 01:56:45PM +0100, Thomas Gebhardt wrote:
> Hi,
> 
> on my slink system perl frequently does not find its modules.
> I get error messages like this:
> 
> Can't locate Net/FTP.pm in @INC (@INC contains: /usr/lib/perl5/i386-linux/5.005
>  /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux 
> /usr/local/lib/site_perl .) at /usr/lib/dpkg//methods/ftp/setup line 7.
> BEGIN failed--compilation aborted at /usr/lib/dpkg//methods/ftp/setup line 7. 
> 
> It seems that the missing modules are somewhere else:
> 
> /usr/lib/perl5/Dpkg/Archive/FTP.pm
> /usr/lib/perl5/Net/FTP.pm
> 
> How can I correct the @INC Path variable? Any hints what might
> have damaged the previous configuration?

I think this is an issue of using 5.005 since modules compiled for 5.004
are not compatible with it. For this reason debian is back to using 5.004
for now (that is what perl is in potato anyway). Try downgrading, or
upgrading your perl.

-- 
Rafael Kitover
rkitover@io.com

Attachment: pgpSBAlEHuABn.pgp
Description: PGP signature


Reply to: