[Templates] Regarding Template Template toolkit installation

Lakshminarayanan Seshadri lnarayanan.seshadri@gmail.com
Fri, 6 Apr 2007 22:32:08 +0530


------=_Part_8849_31768847.1175878928229
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks all for your replies.

On 4/6/07, Darren Chamberlain <dlc@sevenroot.org> wrote:
>
> On 4/6/07, Lakshminarayanan Seshadri <lnarayanan.seshadri@gmail.com>
> wrote:
> >   I am working with a software which comes with its own perl build for
> >  all platforms and they dont have Template Toolkit by default in their
> perl.
> >  What are the ways to get Template toolkit bundled with their perl.?
> >  Please guide me to links/pointers on this.
> >
> >  The software owner also has these questions:
> >       1. whether TT(Template toolkit) is pure-perl ?
>
> Yes, it's pure perl, but with the option to install some C-based
> optimizations.  When you install it, you are asked if you want to
> build the C version of the stash, but if you answer no, TT will still
> work fine.  It's just slower in certain situations, and, in my
> experience, not enough to notice in most situations.
>
> When you run Makefile.PL, you will be asked:
>
>   Do you want to build the XS Stash module? [y]
>
> Answer n and it won't build the C modules.  Alternately, you can
> invoke Makefile.PL with the TT_XS_ENABLE=n flag, and it will default
> to no.
>
> >       2. Does TT install require a compile.i.e C compiler on the
> platform is
> > a must for TT?
>
> No, see above.
>
> >       3. Is TT available on all platforms? atleast on
> linux,solaris,windows?
>
> Yes; because it's pure Perl, it runs on any platform that Perl runs
> on.  When you install it for your special version of Perl, make sure
> you use that binary to generate the Makefile.  I.e., if your
> vendor-provided perl is at /opt/foo/bin/perl, then make sure you build
> TT with:
>
>   $ /opt/foo/bin/perl Makefile.PL
>
> and it will all go into the right include path when you run `make
> install`.  That should be all you need to do.
>
> --
> (darren)
>
> _______________________________________________
> templates mailing list
> templates@template-toolkit.org
> http://lists.template-toolkit.org/mailman/listinfo/templates
>

------=_Part_8849_31768847.1175878928229
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks all for your replies.<br><br><div><span class="gmail_quote">On 4/6/07, <b class="gmail_sendername">Darren Chamberlain</b> &lt;<a href="mailto:dlc@sevenroot.org">dlc@sevenroot.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 4/6/07, Lakshminarayanan Seshadri &lt;<a href="mailto:lnarayanan.seshadri@gmail.com">lnarayanan.seshadri@gmail.com</a>&gt; wrote:<br>&gt;&nbsp;&nbsp; I am working with a software which comes with its own perl build for<br>&gt;&nbsp;&nbsp;all platforms and they dont have Template Toolkit by default in their perl.
<br>&gt;&nbsp;&nbsp;What are the ways to get Template toolkit bundled with their perl.?<br>&gt;&nbsp;&nbsp;Please guide me to links/pointers on this.<br>&gt;<br>&gt;&nbsp;&nbsp;The software owner also has these questions:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. whether TT(Template toolkit) is pure-perl ?
<br><br>Yes, it&#39;s pure perl, but with the option to install some C-based<br>optimizations.&nbsp;&nbsp;When you install it, you are asked if you want to<br>build the C version of the stash, but if you answer no, TT will still<br>
work fine.&nbsp;&nbsp;It&#39;s just slower in certain situations, and, in my<br>experience, not enough to notice in most situations.<br><br>When you run Makefile.PL, you will be asked:<br><br>&nbsp;&nbsp;Do you want to build the XS Stash module? [y]
<br><br>Answer n and it won&#39;t build the C modules.&nbsp;&nbsp;Alternately, you can<br>invoke Makefile.PL with the TT_XS_ENABLE=n flag, and it will default<br>to no.<br><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. Does TT install require a compile.i.e C compiler on the platform is
<br>&gt; a must for TT?<br><br>No, see above.<br><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3. Is TT available on all platforms? atleast on linux,solaris,windows?<br><br>Yes; because it&#39;s pure Perl, it runs on any platform that Perl runs<br>on.&nbsp;&nbsp;When you install it for your special version of Perl, make sure
<br>you use that binary to generate the Makefile.&nbsp;&nbsp;I.e., if your<br>vendor-provided perl is at /opt/foo/bin/perl, then make sure you build<br>TT with:<br><br>&nbsp;&nbsp;$ /opt/foo/bin/perl Makefile.PL<br><br>and it will all go into the right include path when you run `make
<br>install`.&nbsp;&nbsp;That should be all you need to do.<br><br>--<br>(darren)<br><br>_______________________________________________<br>templates mailing list<br><a href="mailto:templates@template-toolkit.org">templates@template-toolkit.org
</a><br><a href="http://lists.template-toolkit.org/mailman/listinfo/templates">http://lists.template-toolkit.org/mailman/listinfo/templates</a><br></blockquote></div><br>

------=_Part_8849_31768847.1175878928229--