Mod_Perl 2.0 + Apache2 + Template Toolkit + Apache::Template

Mod_Perl 2.0 + Apache2 + Template Toolkit + Apache::Template

am 22.09.2010 12:41:23 von Chris Ray

This is a multi-part message in MIME format.

------=_NextPart_000_0007_01CB5A4B.16692E30
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello, I'm currently attempting to update an Apache Cluster from Apache 1.3
to Apache2. The Cluster is running Debian (Lenny). The website served by
this cluster uses Template Toolkit extensively. A link to template toolkits
home page:



http://template-toolkit.org/



Sitting in-between Apache2 and Template Toolkit is a Perl module called
Apache::Template the original version of this module doesn't work with
Mod_Perl 2.0. I have since found that Geoffrey Young had created a port of
this module to support Mod_perl 2.0. Available here:



http://www.modperlcookbook.org/~geoff/modules/experimental/A pache-Template-2
..00_01.tar.gz



This module hasn't been worked on in a while. When I attempted to install
the module this morning it came up with an error message saying the
following:



Can't find the mod_perl include dir (reason: path /usr/include/apache2
doesn't exist) at /usr/lib/perl5/Apache2/Build.pm line 2030.



Which is fair enough since I don't have that directory! does anyone know
what should be in there and how I could go about finding the right content
to put in there?





Regards Chris


------=_NextPart_000_0007_01CB5A4B.16692E30
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









Hello, I'm currently attempting to update an Apache =
Cluster
from Apache 1.3 to Apache2. The Cluster is running Debian (Lenny). The =
website
served by this cluster uses Template Toolkit extensively. A link to =
template
toolkits home page:



 



href=3D"http://template-toolkit.org/">http://template-toolki t.org/ p>



 



Sitting in-between Apache2 and Template Toolkit is =
a Perl
module called Apache::Template the original version of this module =
doesn't work
with Mod_Perl 2.0. I have since found that Geoffrey Young had created a =
port of
this module to support Mod_perl 2.0. Available here:



 



class=3DMsoNormal>http://www.modperlcookbook.org/~geoff/modu les/experimen=
tal/Apache-Template-2.00_01.tar.gz



 



This module hasn't been worked on in a while. When =
I
attempted to install the module this morning it came up with an error =
message
saying the following:



 



Can't find the mod_perl include dir (reason: path
/usr/include/apache2 doesn't exist) at /usr/lib/perl5/Apache2/Build.pm =
line
2030.



 



Which is fair enough since I don't have that =
directory! does
anyone know what should be in there and how I could go about finding the =
right
content to put in there?



 



 



Regards Chris









------=_NextPart_000_0007_01CB5A4B.16692E30--

Re: Mod_Perl 2.0 + Apache2 + Template Toolkit + Apache::Template

am 24.09.2010 07:32:24 von Fred Moyer

FWIW, it installed fine on my setup:

Installing /Users/phred/dev/perl-5.12.0/lib/site_perl/5.12.0/Template/S ervice/Apache.pm
Installing /Users/phred/dev/perl-5.12.0/man/man3/Apache::Template.3
Appending installation info to
/Users/phred/dev/perl-5.12.0/lib/5.12.0/darwin-2level/perllo cal.pod

On Wed, Sep 22, 2010 at 3:41 AM, Chris Ray wrote:
> Hello, I'm currently attempting to update an Apache Cluster from Apache 1.3
> to Apache2. The Cluster is running Debian (Lenny). The website served by
> this cluster uses Template Toolkit extensively. A link to template toolkits
> home page:
>
>
>
> http://template-toolkit.org/
>
>
>
> Sitting in-between Apache2 and Template Toolkit is a Perl module called
> Apache::Template the original version of this module doesn't work with
> Mod_Perl 2.0. I have since found that Geoffrey Young had created a port of
> this module to support Mod_perl 2.0. Available here:
>
>
>
> http://www.modperlcookbook.org/~geoff/modules/experimental/A pache-Template-2.00_01.tar.gz
>
>
>
> This module hasn't been worked on in a while. When I attempted to install
> the module this morning it came up with an error message saying the
> following:
>
>
>
> Can't find the mod_perl include dir (reason: path /usr/include/apache2
> doesn't exist) at /usr/lib/perl5/Apache2/Build.pm line 2030.
>
>
>
> Which is fair enough since I don't have that directory! does anyone know
> what should be in there and how I could go about finding the right content
> to put in there?
>
>
>
>
>
> Regards Chris