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

Need some help determining which package owns a perl bug



A perl script called sync-plan included in pilot-link calls both MD5.pm
(from the libmd5-perl package) and and PDA/Pilot.pm (from the
pilot-link-perl package). Both of these live in /usr/lib/perl. However,
when sync-plan is executed, the following error message appears:

Can't locate PDA/Pilot.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/bin/sync-plan line 6.
BEGIN failed--compilation aborted at /usr/bin/sync-plan line 6.

the top few lines of sync-plan are:

#!/usr/bin/perl

use IO::Socket;
use IO::Select;
use Time::Local;
use PDA::Pilot;
use MD5;

I've switched the two last lines and the same sort of error message
appears for MD5.pm. 

It seems to me that there are two possible solutions - either perl itself
is not looking all the places it should (i.e. @INC should include
/usr/lib/perl) or libmd5-perl and pilot-link-perl installed their
respective perl files in the wrong spot (i.e. they should have installed
them somewhere in @INC). Please let me know which and I will file what
ever bug reports are necessary. Cheers.

--
Colin Telmer, Ottawa, Ontario, Canada
<mailto:telmerco@telmer.com>
<http://www.telmer.com>


Reply to: