I am having trouble getting the handle from the SWISH::API module as it is
trying to find
"new.al" and I can't seem to locate it. Must be doing something wrong but
can't see it.
Here is my environment:
=================
swish-e version: swish-e-2.4.0-pr4
compiler: gcc version 2.95.3 20010315 (release)
make: GNU Make 3.80
webserver: Apache httpd-2.0.45
modperl: mod_perl-1.99_08
os: Solaris 8
Here is the perl code:
===============
use lib
qw(/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/auto/SWISH/API);
use SWISH::API;
my $swish = SWISH::API->new( $library ); <===== FAILS HERE
Here is the Apache error log on the web failure:
==================================
[Thu Oct 16 13:57:47 2003] [error] 2537: ModPerl::Registry: Can't locate
auto/SWISH/API/new.al in @INC (@INC contains: /usr/l
ocal/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/auto/SWISH/API
/usr/varian/cgi-bin /usr/local/apache2/perl /usr/vari
an/cgi-bin/electron /usr/varian/cgi-bin/electron2
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/Apache2 /usr
/local/lib/perl5/5.8.0/sun4-solaris-thread-multi /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
-thread-multi /usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/usr/varian/cgi-bin/epfind line 993
Manual operation seems to work fine:
==========================
# swish-e -w 'pump' -f eportal_kla.index
# SWISH format: 2.4.0-pr4
# Search words: pump
# Removed stopwords:
# Number of hits: 14
# Search time: 0.002 seconds
# Run time: 0.197 seconds
1000
http://www.varianinc.com/image/vimage/docs/products/vacuum/kla/shared/KLAProductReturns-Mar03.xls
"Mar 03 - /tmp/3aUuiEi
uQw v.1536" 18186
989
http://www.varianinc.com/image/vimage/docs/products/vacuum/kla/shared/KLAProductReturns-Jan03.xls
"Jan 03 - /tmp/p2CqUyai
cA v.1536" 16350
. . .
Any guidance to resolve would be much appreciated.
Thanks,
Bruce
*********************************************************************
Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
*********************************************************************
Received on Thu Oct 16 22:17:08 2003