Skip to main content.
home | support | download

Back to List Archive

Re: Error message from Swish-e at run

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Jan 24 2005 - 23:38:50 GMT
On Mon, Jan 24, 2005 at 03:31:39PM -0800, Rob de Santos AFANA wrote:
> No dice.  Put a copy in the location you suggested and it made no
> difference.  Same error:
> Compilation failed in require at
> /home/afana/public_html/swish-e/lib/swish-e/perl/SWISH/PhraseHighlight.p
> m line 30, <GEN0> line 34.
> Stemmed index needs Stemmer.pm to highlight: Can't locate loadable
> object for module SWISH::Stemmer in @INC (@INC contains:
> /home/afana/public_html/swish-e/lib/swish-e/perl

Can you do this without it complaining?

  perl -I/home/afana/public_html/swish-e/lib/swish-e/perl \
    -MSWISH::Stemmer -le 'print "hello"'

As peter pointed out, the path should be:

   @INC + SWISH::Stemmer.pm
or
   /home/afana/public_html/swish-e/lib/swish-e/perl/SWISH/Stemmer.pm

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Mon Jan 24 15:38:50 2005