Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to install this module via cpan: cpan -i Apache::Template

I get an error "512, won't make". This behavior is the same on Debian Lenny or Squeeze.

Any ideas on how to get it to build?

share|improve this question

First install Apache::ModuleConfig:

 cpan -i Apache::ModuleConfig
share|improve this answer
Warning: Cannot install Apache::ModuleConfig, don't know what it is. – Bobber Mar 2 '11 at 17:55

It seems that these versions of Debian use mod_perl 2. The version of Apache::Template on CPAN only works with mod_perl version 1. You can get a version that works from

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.