Luke Meyer wrote:
Randy Kobes wrote:

For mod_perl 2, try the Apache-Template package at
  http://www.modperlcookbook.org/~geoff/modules/experimental/

Can't locate object method "new" via package "Apache::Request" (perhaps you forgot to load "Apache::Request"?) at /usr/lib/perl5/site_perl/5.8.6/Template/Service/Apache.pm line 121.

ITYM:
   $request = Apache2::Request->new($request);

However after changing that, I now get this:
/usr/sbin/httpd: symbol lookup error: /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so: undefined symbol: apreq_handle_apache2

Hmm... any ideas?

$ sudo yum install libapreq2

(you may need libapreq2-devel and mod_perl-devel as well)

Dave...

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to