Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

perlapi on Squeeze

by martinm (Novice)
on Mar 08, 2011 at 14:24 UTC ( [id://892027]=perlquestion: print w/replies, xml ) Need Help??

martinm has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I'm trying to get TT2 running on a new Squeeze box, but can't install perlapi. According to Google, it's a virtual package that can be served by perl-base, but perl-base IS installed.

Any ideas?

Ta.
sudo apt-get install libtemplate-toolkit-perl
....
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libtemplate-toolkit-perl : Depends: perlapi-5.8.8 but it is not installable
E: Broken packages
martinm@squeezebox:~/Template-Toolkit-2.22$ sudo apt-get install perlapi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package perlapi

Sources.list:

deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.debian-unofficial.org/debian squeeze main contrib non-free restricted
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://ftp.uk.debian.org/debian squeeze main #
deb-src http://mirrors.melbourne.co.uk/debian/ squeeze main
deb http://mirrors.melbourne.co.uk/debian/ squeeze main
deb http://people.debian.org/~mako/outgoing/ ./

Replies are listed 'Best First'.
Re: perlapi on Squeeze
by moritz (Cardinal) on Mar 08, 2011 at 14:46 UTC

    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.

      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)?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://892027]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-29 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found