Probable bug in libwww-perl

Sridhar M.A. mas at mylug.org
Sat Nov 29 09:03:39 UTC 2008


Hi,

I am presently running testing on my machine. It dual boots to i386 and
amd64. 

I installed checkgmail on both the systems. It works fine on amd64, but
gives an error uner i386. The error I get is :

  CheckGmail v1.13svn
  Copyright © 2005-6, Owen Marshall

  Sorry!  CheckGmail can't find the following package(s) on your
  system.  These packages are needed for CheckGmail to run.

  LWP::UserAgent

  Try installing them if they're provided by your distro, and then
  run CheckGmail again ...

  If that fails, you might have to download and install
  the packages from CPAN (http://search.cpan.org)

I have this file on my system which comes from the package libwww-perl.
It is in /usr/share/perl5/. I mailed the maintainer of the checkgmail
package. In the meantime, I created a very simple file, test.pl, 
with the lines :

  #!/usr/bin/perl

  use strict;
  use warnings;

  use LWP::UserAgent ;

  print "Hi\n"

Running that gives me the following :

  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 /tmp/test.pl line 6.
  BEGIN failed--compilation aborted at /tmp/test.pl line 6.

The maintainer, Sandro, suggested that I involve the maintainer of
libwww-perl package also. hence I am mailing you with my problem. If it
is of any help, I mounted that partition
under /mnt and tried diff. Here are the results :

  $ diff /usr/bin/checkgmail /mnt/usr/bin/checkgmail
  mas at 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

Regards,

-- 
Sridhar M.A.                                 GPG KeyID : F6A35935
  Fingerprint: D172 22C4 7CDC D9CD 62B5  55C1 2A69 D5D8 F6A3 5935

Totally illogical, there was no chance.
		-- Spock, "The Galileo Seven", stardate 2822.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20081129/f7fb049f/attachment.pgp 


More information about the pkg-perl-maintainers mailing list