Skip Menu |

This queue is for tickets about the Mail-Convert-Mbox-ToEml CPAN distribution.

Report information
The Basics
Id: 30001
Status: resolved
Priority: 0/
Queue: Mail-Convert-Mbox-ToEml

People
Owner: RPAGITSCH [...] cpan.org
Requestors: seanxkelly [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installing via CPAN module fails
Date: Sun, 14 Oct 2007 22:44:38 +0100
To: bug-Mail-Convert-Mbox-ToEml [...] rt.cpan.org
From: "Sean Kelly" <seanxkelly [...] gmail.com>
Tried to install Mail::Convert::Mbox::ToEml from the command line using "perl -MCPAN -e shell" and typing "install Mail::Convert::Mbox::ToEml". It failed with the following lines: =========================================== Running install for module 'Mail::Convert::Mbox::ToEml' Running make for R/RP/RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz Has already been unwrapped into directory /root/.cpan/build/Mail- Convert-Mbox-ToEml-0.03-0iVtX2 Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-Iblib/lib" "-Iblib/arch" test.pl 1..1 # Running under perl version 5.008006 for linux # Current time local: Sun Oct 14 22:43:04 2007 # Current time GMT: Sun Oct 14 21:43:04 2007 # Using Test.pm version 1.25 ok 1 file does not exist! Can't call method "GetMessages" on an undefined value at test.pl line 20. make: *** [test_dynamic] Error 2 RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz /usr/bin/make test -- NOT OK //hint// To get more information about failing tests, try: reports RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz: make_test NO =========================================== I am using v1.9203 of the CPAN module. perl -v reports "This is perl, v5.8.6 built for i486-linux". The original build of this machine was Slackware 10.1.0. Thanks, Sean.
Hello Sean, The problem is that in the test.pl the new method points to a mbox which can not exist on your Linux Box. Simply comment out the following: #my $MBX=Mail::Convert::Mbox::ToEml->new("D:/mail/PO and Portal", "D:/Download/Entwicklung/Delphi/out1"); #my $ret=$MBX->CreateEML(); #my @liste=$MBX->GetMessages(); #my %h = $MBX->FindMessage("WebPortal"); #foreach (keys %h) #{ # print "The key: $_="; # foreach my $xx (keys %{$h{$_}}) # { # print "$xx=" . %{$h{$_}}->{$xx} . " "; # } # print " \n"; #} # print " \n"; # print " \n"; #foreach (@liste) #{ # print "$_\n"; #} On So. 14. Okt. 2007, 20:35:58, seanxkelly@gmail.com wrote: Show quoted text
> Tried to install Mail::Convert::Mbox::ToEml from the command line using > "perl -MCPAN -e shell" and typing "install Mail::Convert::Mbox::ToEml". > > It failed with the following lines: > > =========================================== > Running install for module 'Mail::Convert::Mbox::ToEml' > Running make for R/RP/RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz > Has already been unwrapped into directory /root/.cpan/build/Mail- > Convert-Mbox-ToEml-0.03-0iVtX2 > Has already been made > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-Iblib/lib" "-Iblib/arch" test.pl > 1..1 > # Running under perl version 5.008006 for linux > # Current time local: Sun Oct 14 22:43:04 2007 > # Current time GMT: Sun Oct 14 21:43:04 2007 > # Using Test.pm version 1.25 > ok 1 > file does not exist! > Can't call method "GetMessages" on an undefined value at test.pl line 20. > make: *** [test_dynamic] Error 2 > RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz > /usr/bin/make test -- NOT OK > //hint// To get more information about failing tests, try: > reports RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz > Running make install > make test had returned bad status, won't install without force > Failed during this command: > RPAGITSCH/Mail-Convert-Mbox-ToEml-0.03.tar.gz: make_test NO > =========================================== > > > I am using v1.9203 of the CPAN module. > > perl -v reports "This is perl, v5.8.6 built for i486-linux". > > The original build of this machine was Slackware 10.1.0. > > Thanks, > > Sean.
I uploaded a new version of the module where the mentioned liners are commented out.