• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

schlechter Make-Test bei Terminalinstallation von Mechanize:

salü u. guten Tag

von zeit zu Zeit versuche ich das ein oder andere Perlmodul von CPan zu instaillieren. Dabei kann es immer wieder vorkommen, dass ich eine schlechten Make-Test bekomme.

nebenbei bemerkt: es ist opensuse 12.2 auf der Kiste drauf

Was kann ich da machen!?= Freu mich auf tipps.


glg
Code:
#  Parse errors: No plan found in TAP output
Files=83, Tests=78,  7 wallclock secs ( 0.26 usr  0.08 sys +  4.64 cusr  0.56 csys =  5.54 CPU)
Result: FAIL
Failed 78/83 test programs. 14/78 subtests failed.
make: *** [test_dynamic] Fehler 2
  CORION/WWW-Mechanize-Firefox-0.68.tar.gz
one dependency not OK (MozRepl::RemoteObject); additionally test harness failed
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports CORION/WWW-Mechanize-Firefox-0.68.tar.gznd 
Running make install
  make test had returned bad status, wont install without force
Failed during this command:
 ZIGOROU/MozRepl-0.06.tar.gz                  : make_test NO
 CORION/MozRepl-RemoteObject-0.34.tar.gz      : make_test NO one dependency not OK (MozRepl)
 CORION/WWW-Mechanize-Firefox-0.68.tar.gz     : make_test NO one dependency not OK (MozRepl::RemoteObject); additionally test harness failed


Nachtrag:

und um einfach mal noch mehr von den derzeitigen Fragen zu nennen - bzw. den ganzen Hintergrund zu schilidern:
wenn ich diesen Code hier laufen lassen will

Code:
#!/usr/bin/perl 
 
use WWW::Mechanize::Firefox; 
use strict; 
use warnings; 
#use Parallel::ForkManager; 
 
#my $fork = Parallel::ForkManager->new(2); 
 
#sites 
my @urls = qw(http://www.google.com http://www.yahoo.com http://www.cnn.com http://www.bing.com http://www.nbcnews.com/); 
#temp base dir 
my $temp = '/home/aaron/cgi-bin/'; 
 
for my $each (@urls){ 
    #$fork->start and next; 
    my $mech = WWW::Mechanize::Firefox->new(launch => 'firefox',create => 1,); 
     
    $each =~ /www.(w+).com/; 
    my $name = $1; 
    print "creating $name.png\n"; 
     
     
    $mech->get($each); 
    my $png = $mech->content_as_png(undef, undef, {width => 240,height => 240}); 
     
    my $dir_name = "$temp/$name".".png"; 
    open my $file, ">", "$dir_name" or die "couldnt create $temp/$1.png"; 
    binmode $file; 
    print {$file} $png; 
     
    close $file; 
    sleep 5; # sleep some to give it a little time to make sure things compleated..... you'll need this more using fork 
     
    #$fork->finish; 
} 
print "Well All done!\n"; 
#$fork->wait_all_children;

bekomme ich folgenden Error.


Code:
martin@linux-wyee:~/perl> perl moz_test2.pl
Cant locate WWW/Mechanize/Firefox.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i586-linux-thread-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/site_perl .) at moz_test2.pl line 3.l
BEGIN failed--compilation aborted at moz_test2.pl line 3.


Wie soll ich denn jetzt vorgehen!?

Freu mich über jede Form einer Hilfe - eines Tipps

glg
 
Oben