From hu at db.genome.iastate.edu Mon Sep 13 20:25:07 2004 From: hu at db.genome.iastate.edu (Zhiliang Hu) Date: Mon Sep 13 20:28:59 2004 Subject: [Info-www-search] problem installing WWW::Search Message-ID: My installation of WWW::Search fails on both OS X and Linux (RedHat AS) in the same way: perl Makefile.PL - no error make - no error make test - shows following: /usr/local/bin/perl -MExtUtils::Command -e rm_f t/embedded-*.t make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) make: [testifypods] Error 1 (ignored) PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/0_versions........................# # Module Version # File::Find 1.07 # File::Spec 0.87 # Getopt::Long 2.34 # HTML::Parser 3.36 # HTML::TreeBuilder 3.13 # HTTP::Cookies 1.38 # LWP::UserAgent 2.032 # Net::Domain 2.19 # Pod::Parser 1.14 # Pod::Tests 0.12 # Pod::Usage 1.16 # Test::Inline 0.16 # URI 1.32 # User 1.6 # perl 5.8.5 t/0_versions........................ok t/autosearch........................# t/autosearch........................ok 3/0blib/script/AutoSearch version 2.130; WWW::Search version 2.529 t/autosearch........................ok t/embedded-WWW-Search-Null-Count....Unquoted string "end" may clash with future reserved word at lib/WWW/Search/Null/Count.pm line 23. Semicolon seems to be missing at lib/WWW/Search/Null/Count.pm line 22. syntax error at lib/WWW/Search/Null/Count.pm line 23, near "end is" Execution of t/embedded-WWW-Search-Null-Count.t aborted due to compilation errors. # Looks like your test died before it could output anything. t/embedded-WWW-Search-Null-Count....dubious Test returned status 255 (wstat 65280, 0xff00) t/embedded-WWW-Search-Null-Empty....Unquoted string "end" may clash with future reserved word at lib/WWW/Search/Null/Empty.pm line 22. Semicolon seems to be missing at lib/WWW/Search/Null/Empty.pm line 21. syntax error at lib/WWW/Search/Null/Empty.pm line 22, near "end ok" Execution of t/embedded-WWW-Search-Null-Empty.t aborted due to compilation errors. # Looks like your test died before it could output anything. t/embedded-WWW-Search-Null-Empty....dubious Test returned status 255 (wstat 65280, 0xff00) t/embedded-WWW-Search-Null-Error....Unquoted string "end" may clash with future reserved word at lib/WWW/Search/Null/Error.pm line 21. Semicolon seems to be missing at lib/WWW/Search/Null/Error.pm line 20. syntax error at lib/WWW/Search/Null/Error.pm line 21, near "end is" Execution of t/embedded-WWW-Search-Null-Error.t aborted due to compilation errors. # Looks like your test died before it could output anything. t/embedded-WWW-Search-Null-Error....dubious Test returned status 255 (wstat 65280, 0xff00) t/pod...............................ok t/test..............................ok t/use...............................ok 5/0# FYI the following backends are already installed (including ones in this distribution): Null, Null::Count, Null::Empty, Null::Error, Null::NoVersion, Simple t/use...............................ok 23/0# 'argument...must be a scalar...' message here is normal: argument to WWW::Search::cookie_jar() must be a scalar or a flavor of HTTP::Cookies at t/use.t line 58 t/use...............................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/embedded-WWW-Search-Null-Count. 255 65280 ?? ?? % ?? t/embedded-WWW-Search-Null-Empty. 255 65280 ?? ?? % ?? t/embedded-WWW-Search-Null-Error. 255 65280 ?? ?? % ?? Failed 3/8 test scripts, 62.50% okay. 0/43 subtests failed, 100.00% okay. make: *** [test_dynamic] Error 255 Run with "perl -MCPAN -e shell" to install makes no difference. Any suggestion what was wrong? Zhiliang From hu at db.genome.iastate.edu Mon Sep 13 20:58:51 2004 From: hu at db.genome.iastate.edu (Zhiliang Hu) Date: Mon Sep 13 21:00:50 2004 Subject: [Info-www-search] problem installing WWW::Search In-Reply-To: Message-ID: I soved the problem by inserting a blank line after line 21 in "Count.pm", "Empty.pm", "Error.pm". I then did 'make install'. Things seem went OK. I then installed "WWW::Search::PubMed". It seems installed but when I tried to use in a program it complains: "unknown search engine backend PubMed (Can't locate WWW/Search/PubMed.pm.........". I then checked the locatin (/WWW/Search/PubMed), I only see empty folders there (no files in them, except a ".packlist" file). Any hint? Zhiliang On Mon, 13 Sep 2004, Zhiliang Hu wrote: > > My installation of WWW::Search fails on both OS X and Linux (RedHat > AS) in the same way: > > perl Makefile.PL - no error > make - no error > make test - shows following: > > /usr/local/bin/perl -MExtUtils::Command -e rm_f t/embedded-*.t > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > make: [testifypods] Error 1 (ignored) > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/0_versions........................# > # Module Version > # File::Find 1.07 > # File::Spec 0.87 > # Getopt::Long 2.34 > # HTML::Parser 3.36 > # HTML::TreeBuilder 3.13 > # HTTP::Cookies 1.38 > # LWP::UserAgent 2.032 > # Net::Domain 2.19 > # Pod::Parser 1.14 > # Pod::Tests 0.12 > # Pod::Usage 1.16 > # Test::Inline 0.16 > # URI 1.32 > # User 1.6 > # perl 5.8.5 > t/0_versions........................ok > t/autosearch........................# > t/autosearch........................ok 3/0blib/script/AutoSearch > version 2.130; WWW::Search version 2.529 > t/autosearch........................ok > t/embedded-WWW-Search-Null-Count....Unquoted string "end" may clash > with future reserved word at lib/WWW/Search/Null/Count.pm line 23. > Semicolon seems to be missing at lib/WWW/Search/Null/Count.pm line 22. > syntax error at lib/WWW/Search/Null/Count.pm line 23, near "end > > is" > Execution of t/embedded-WWW-Search-Null-Count.t aborted due to > compilation errors. > # Looks like your test died before it could output anything. > t/embedded-WWW-Search-Null-Count....dubious > Test returned status 255 (wstat 65280, 0xff00) > t/embedded-WWW-Search-Null-Empty....Unquoted string "end" may clash > with future reserved word at lib/WWW/Search/Null/Empty.pm line 22. > Semicolon seems to be missing at lib/WWW/Search/Null/Empty.pm line 21. > syntax error at lib/WWW/Search/Null/Empty.pm line 22, near "end > > ok" > Execution of t/embedded-WWW-Search-Null-Empty.t aborted due to > compilation errors. > # Looks like your test died before it could output anything. > t/embedded-WWW-Search-Null-Empty....dubious > Test returned status 255 (wstat 65280, 0xff00) > t/embedded-WWW-Search-Null-Error....Unquoted string "end" may clash > with future reserved word at lib/WWW/Search/Null/Error.pm line 21. > Semicolon seems to be missing at lib/WWW/Search/Null/Error.pm line 20. > syntax error at lib/WWW/Search/Null/Error.pm line 21, near "end > > is" > Execution of t/embedded-WWW-Search-Null-Error.t aborted due to > compilation errors. > # Looks like your test died before it could output anything. > t/embedded-WWW-Search-Null-Error....dubious > Test returned status 255 (wstat 65280, 0xff00) > t/pod...............................ok > t/test..............................ok > t/use...............................ok 5/0# FYI the following backends > are already installed (including ones in this distribution): Null, > Null::Count, Null::Empty, Null::Error, Null::NoVersion, Simple > t/use...............................ok 23/0# 'argument...must be a > scalar...' message here is normal: > argument to WWW::Search::cookie_jar() must be a scalar or a flavor of > HTTP::Cookies at t/use.t line 58 > t/use...............................ok > Failed Test Stat Wstat Total Fail Failed List > of Failed > ------------------------------------------------------------------------------- > t/embedded-WWW-Search-Null-Count. 255 65280 ?? ?? % ?? > t/embedded-WWW-Search-Null-Empty. 255 65280 ?? ?? % ?? > t/embedded-WWW-Search-Null-Error. 255 65280 ?? ?? % ?? > Failed 3/8 test scripts, 62.50% okay. 0/43 subtests failed, 100.00% > okay. > make: *** [test_dynamic] Error 255 > > Run with "perl -MCPAN -e shell" to install makes no difference. > Any suggestion what was wrong? > > Zhiliang > From mthurn at verizon.net Tue Sep 14 03:57:02 2004 From: mthurn at verizon.net (Martin 'Kingpin' Thurn) Date: Tue Sep 14 03:58:46 2004 Subject: [Info-www-search] problem installing WWW::Search In-Reply-To: Message-ID: Those errors are caused by a bug in Pod::Parser. And since the Null:: backends aren't part of the core functionality, you can safely ignore those errors and go ahead and install the module. The PubMed backend on CPAN was written by Jim Smyser; it's so old maybe it doesn't work any more. Its makefile is broken -- you'll have to copy PubMed.pm to the proper location by hand. Hope this helps. - - Martin > -----Original Message----- > From: info-www-search-bounces@mailman.isi.edu > [mailto:info-www-search-bounces@mailman.isi.edu]On Behalf Of Zhiliang Hu > Sent: Monday, September 13, 2004 23:59 > To: info-www-search@mailman.isi.edu > Subject: Re: [Info-www-search] problem installing WWW::Search > > > > I soved the problem by inserting a blank line after line 21 in > "Count.pm", "Empty.pm", "Error.pm". I then did 'make install'. > Things seem went OK. > > I then installed "WWW::Search::PubMed". It seems installed but when I > tried to use in a program it complains: "unknown search engine backend > PubMed (Can't locate WWW/Search/PubMed.pm.........". I then checked > the locatin (/WWW/Search/PubMed), I only see empty folders there (no > files in them, except a ".packlist" file). From mthurn at verizon.net Thu Sep 16 19:26:34 2004 From: mthurn at verizon.net (Martin 'Kingpin' Thurn) Date: Thu Sep 16 19:26:51 2004 Subject: [Info-www-search] new WWW-Search-Ebay uploaded Message-ID: I just uploaded WWW-Search-Ebay-2.195 to CPAN. Thanks to Mike Schilli for noticing that ebay.com changed their date format, and for submitting a patch for ByEndDate.pm! - - Martin From mthurn at verizon.net Fri Sep 24 19:12:32 2004 From: mthurn at verizon.net (Martin 'Kingpin' Thurn) Date: Fri Sep 24 19:13:18 2004 Subject: [Info-www-search] WWW-Search-Yahoo uploaded Message-ID: yahoo.com changed their output format slightly again. I fixed WWW::Search::Yahoo and uploaded a new version to CPAN just now.