Skip Menu |

This queue is for tickets about the Plucene CPAN distribution.

Report information
The Basics
Id: 5183
Status: resolved
Priority: 0/
Queue: Plucene

People
Owner: Nobody in particular
Requestors: steve [...] fisharerojo.org
Cc:
AdminCc:

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



Subject: Several tests fail without running with message "Can't locate Lucene/QueryParser.pm in @INC"
When running the tests, I ran into the error above. The following tests all use this module. indexsearcher.t:use Lucene::QueryParser; search_hits.t:use Lucene::QueryParser; segments.t:use Lucene::QueryParser; sloppy_scorer.t:use Lucene::QueryParser; tokenizer.t:use Lucene::QueryParser; It can be solved by making sure that Lucene::QueryParser is in the Build.PL script. I have included a patch to fix this. The other possibility is that you really meant to use Plucene::QueryParser.
--- Plucene-1.0/Build.PL 2004-02-02 10:05:19.000000000 -0600 +++ Plucene-patch/Build.PL 2004-02-03 08:22:29.000000000 -0600 @@ -30,6 +30,7 @@ 'Memoize' => '1.01', 'Tie::Array::Sorted' => '1.1', 'Time::Piece' => '1.08', + 'Lucene::QueryParser' => '1.04', }, build_requires => { 'File::Slurp' => '2002.1031',
[SMPETERS - Tue Feb 3 09:27:14 2004]: Show quoted text
> > It can be solved by making sure that Lucene::QueryParser is in the > Build.PL script. I have included a patch to fix this. The other > possibility is that you really meant to use Plucene::QueryParser. >
This is fixed in 1.01.
Thanks for the report. As you noted this problem was fixed in 1.1 Please let us know if you encounter any further problems. Tony