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

Re: google-image.pl



Klaus Becker wrote:
[...] 
> $ google-image.pl --limit 20 "Ausländer in Deutschland" | xargs wget
> Can't locate Log/Log4perl.pm in @INC (@INC 
> contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) 
> at /usr/local/bin/google-image.pl line 8.
> BEGIN failed--compilation aborted at /usr/local/bin/google-image.pl
> line 8. wget: URL fehlt
> Syntax: wget [OPTION]... [URL]...
> »wget --help« gibt weitere Informationen.
> 
> Wieso fehlt da die URL, die steht doch im Skript: 
> 
> my $agent = WWW::Google::Images->new(
>     server => 'images.google.com',

Wget beschwert sich da (nicht das Perl-Skript) weil es vom Skript keine
Eingabe bekommt.

Dem Skript fehlt zunächst mal Log::Log4Perl. Dann musst Du evtl. auch
noch Getopt::Euclid und WWW::Google::Images nachinstallieren. Letzteres
ist nicht in den Repositories, soweit ich das sehe.

Attachment: pgpnmdqlteH1H.pgp
Description: PGP signature


Reply to: