On Fri, Nov 28, 2008 at 06:13:39PM +0100, Sandro Tosi wrote:
>
> Is your machine up-to-date? du you run often "apt-get update; apt-get
> dist-upgrade"? what about trying to reinstall that libwww-perl package
> or checkgmail (after upgrading)?
>
Following up on my earlier mail, I did some digging. As mentioned
earlier checkgmail works on the amd64 system. So, mounted that partition
under /mnt and tried diff. Here are the results :
$ diff /usr/bin/checkgmail /mnt/usr/bin/checkgmail
mas@brahman:/var/cache/apt/archives$ diff -q {/mnt,}/usr/share/perl5/LWP
Common subdirectories: /mnt/usr/share/perl5/LWP/Authen and /usr/share/perl5/LWP/Authen
Common subdirectories: /mnt/usr/share/perl5/LWP/Protocol and /usr/share/perl5/LWP/Protocol
Files /mnt/usr/share/perl5/LWP/Protocol.pm and /usr/share/perl5/LWP/Protocol.pm differ
Files /mnt/usr/share/perl5/LWP/RobotUA.pm and /usr/share/perl5/LWP/RobotUA.pm differ
Files /mnt/usr/share/perl5/LWP/UserAgent.pm and /usr/share/perl5/LWP/UserAgent.pm differ
Further, I just created a simple perl file with the following lines :
#!/usr/bin/perl
use strict;
use warnings;
use LWP::UserAgent ;
print "Hi\n"
Running this gives me this error :
Can't locate URI.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 5) line 3.
Compilation failed in require at /usr/share/perl5/HTTP/Request.pm line 3.
Compilation failed in require at /usr/share/perl5/LWP/UserAgent.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/LWP/UserAgent.pm line 10.
Compilation failed in require at x.pl line 24.
BEGIN failed--compilation aborted at x.pl line 24.
Regards,
--
Sridhar M.A. GPG KeyID : F6A35935
Fingerprint: D172 22C4 7CDC D9CD 62B5 55C1 2A69 D5D8 F6A3 5935
If it's worth hacking on well, it's worth hacking on for money.
Attachment:
signature.asc
Description: Digital signature