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

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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
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">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>

<div class=3DWordSection1>

<p class=3DMsoNormal>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:<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal><a =
href=3D"http://template-toolkit.org/">http://template-toolki t.org/</a><o:=
p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>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:<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

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

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>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:<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>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.<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>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?<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Regards Chris<o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_000_0007_01CB5A4B.16692E30--
Chris Ray [ Mi, 22 September 2010 12:41 ] [ ID #2047921 ]

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

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 <chris [at] rayjchris.co.uk> 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
Fred Moyer [ Fr, 24 September 2010 07:32 ] [ ID #2048021 ]
Webserver » gmane.comp.apache.mod-perl » Mod_Perl 2.0 + Apache2 + Template Toolkit + Apache::Template

Vorheriges Thema: PerlFixupHandler doesn't run after authz phase returns HTTP_UNAUTHORIZED
Nächstes Thema: [ANNOUNCE] Apache-SizeLimit 0.92