Skip to main content.
home | support | download

Back to List Archive

RE: Error message from Swish-e at run

From: Rob de Santos AFANA <rdesantos(at)not-real.afana.com>
Date: Tue Jan 25 2005 - 01:48:21 GMT
> > I get:
> > Can't open perl script " -MSWISH::Stemmer": No such file or
directory
> 
> That doesn't make sense.  Why would it think that is a 
> parameter and not a command line switch?  -- is your "perl" a 
> wrapper script?
 
Don't think so.  

> So, how did you build the stemmer module?

>From the bash history, I think this is the sequence I used:
gzip -dc SWISH-Stemmer-0.05.tar.gz | tar xof -
cd SWISH-Stemmer-0.05
perl Makefile.PL PREFIX=$HOME/public_html/swish-e
make
make test
make install 

> > Yep, got that.  I just reverified that the file is in that directory

> > and has appropriate file permissions set.
> 
> Then try this:
> 
>     strace -e trace=file perl -MSWISH::Stemmer -e exit 2>&1 | 
> grep Stemmer
> 
> and you might be able to see why it's not finding it.

Did that and that made me suspect I mistyped something earlier so I
reran the earlier command and got a different response this time:

Can't locate loadable object for module SWISH::Stemmer in @INC (@INC
contains:
/home/afana/public_html/swish-e/lib/swish-e/perl/5.8.3/i386-linux-thread
-multi /home/afana/public_html/swish-e/lib/swish-e/perl/5.8.3
/home/afana/public_html/swish-e/lib/swish-e/perl/i386-linux-thread-multi
/home/afana/public_html/swish-e/lib/swish-e/perl/5.8.2
/home/afana/public_html/swish-e/lib/swish-e/perl/5.8.1
/home/afana/public_html/swish-e/lib/swish-e/perl/5.8.0
/home/afana/public_html/swish-e/lib/swish-e/perl
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at - line 0
Compilation failed in require.
BEGIN failed--compilation aborted.

-Rob 
Received on Mon Jan 24 17:48:31 2005