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

Re: google-image.pl



Am Montag, 23. Juni 2008 21:27 schrieb Tobias Nissen:
> 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.

Hallo,

hab' ich jetzt alles installiert und bekomme nur noch die Meldung:

$ google-image.pl --limit 20 "..." | xargs wget
Unknown argument: --limit 20 ...
wget: URL fehlt

"WWW::Google::Images" nachinstallieren: das verstehe ich nicht.

Klaus


Reply to: