Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: perlapi on Squeeze

by moritz (Cardinal)
on Mar 08, 2011 at 14:46 UTC ( [id://892028]=note: print w/replies, xml ) Need Help??


in reply to perlapi on Squeeze

Seems that libtemplate-toolkit-perl is an old package; its dependency on perl 5.8.8 is telling (squeeze ships with 5.10.1).

Try installing libtemplate-perl instead, it should contain what you want.

(Update) postscriptum: In my experience it doesn't pay off to add redundant mirrors to your sources.list. Chose a reliable mirror per archive, not multiple mirrors of the same archive.

Replies are listed 'Best First'.
Re^2: perlapi on Squeeze
by martinm (Novice) on Mar 08, 2011 at 15:42 UTC
    That does the trick, Ta.

    Or at least it installs -

    But in apache2/http.conf none of the TT2 options are recognised, implying that TT2 isn't recognised.

    I know it's probably off-topic now, but any idea why?
    <IfModule mod_perl.c> PerlModule Apache::Template # set various configuration options, e.g. TT2Trim On TT2PostChomp On TT2EvalPerl On TT2IncludePath /avbase/include/tt2/ </IfModule>

      So, what is the error message you get when you restart Apache (or try to access the Location)?

      Is Apache::Template installed (that is, likely, libapache-template-perl)?

        OK, got a bit further. The same TT2 section was in httpd.conf and apache2.conf. Now only in apache2.conf and starts OK. If I misspell one of the TT2 lines it fails, so def. being called.

        Apache log now shows
        [error] file error - header.tt2: not found /var/www/html/index.tt2

        /var/www/html/index.tt2 contains
        [% INCLUDE header.tt2 %]
        Presumably that means header.tt2 which does exist in  TT2IncludePath /avbase/include/tt2/
        can't be found. Why I can't explain!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://892028]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-04-23 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found