Skip to main content.
home | support | download

Back to List Archive

Re: TemplateToolkit Does Not Work

From: Bill Moseley <moseley(at)>
Date: Thu Nov 10 2005 - 18:10:52 GMT
On Thu, Nov 10, 2005 at 10:04:17AM -0800, Michael Porcaro wrote:
> So I looked at my apache error_log and this is what I observed.
> swish.cgi Can't locate in @INC (@INC contains:
> /usr/local/lib/swish-e/perl /usr/lib/perl5/5.8.7/i686-linux
> /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux
> /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl .) at
> /usr/local/lib/swish-e/perl/SWISH/ line 9.
> BEGIN failed--compilation aborted at
> /usr/local/lib/swish-e/perl/SWISH/ line 9.
> Compilation failed in require at swish.cgi line 851.
> I am not sure what is, but do I need to install something
> else on my server in order to get this to work?

Please read the manual again.

    --If you wish to use Template-Toolkit with swish.cgi to generate output, install:


How much clearer does that need to be?

swish.cgi -- Example Perl script for searching with the SWISH-E search engine.
Swish-e version 2.4.3
Table of Contents <<<<<<<<<<<<<<<<<<<

    * Frequently Asked Questions
          o How do I change the way the output looks?
          o How do I use a templating system with swish.cgi? 

    Templating systems use template files to generate the HTML, and
    make maintaining the look of a large (or small) site much easier.
    HTML::Template and Template-Toolkit are separate packages and can
    be downloaded from the CPAN. See

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Thu Nov 10 10:10:55 2005