I downloaded Template Toolkit from
http://search.cpan.org/~abw/Template-Toolkit-2.08/ from this emailed
archives that I read http://swish-e.org/archive/2002-12/4925.html
Is this what I am supposed to install? I am not sure because the
instructions say:
If you wish to use Template-Toolkit with swish.cgi to generate output,
install:
Template
And I don't know what Template is because it doesn't say much about
that. Is that something I download from CPAN? So my guess is, I can
either download and install template toolkit, or download template from
cpan, to get this to work. How wrong am I?
-----Original Message-----
From: swish-e@sunsite3.berkeley.edu
[mailto:swish-e@sunsite3.berkeley.edu] On Behalf Of Bill Moseley
Sent: Thursday, November 10, 2005 1:11 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: TemplateToolkit Does Not Work
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 Template.pm 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/TemplateToolkit.pm line 9.
> BEGIN failed--compilation aborted at
> /usr/local/lib/swish-e/perl/SWISH/TemplateToolkit.pm line 9.
> Compilation failed in require at swish.cgi line 851.
>
>
> I am not sure what Template.pm is, but do I need to install something
> else on my server in order to get this to work?
Please read the manual again.
http://swish-e.org/docs/install.html
--If you wish to use Template-Toolkit with swish.cgi to generate
output, install:
Template
How much clearer does that need to be?
http://swish-e.org/docs/swish.cgi.html
swish.cgi -- Example Perl script for searching with the SWISH-E search
engine.
Swish-e version 2.4.3
Table of Contents <<<<<<<<<<<<<<<<<<<
* DESCRIPTION
* REQUIREMENTS
* INSTALLATION
* CONFIGURATION
* DEBUGGING
* Frequently Asked Questions
o How do I change the way the output looks?
o How do I use a templating system with swish.cgi?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
http://swish-e.org/docs/swish.cgi.html#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 http://search.cpan.org.
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 Thu Nov 10 10:54:23 2005