I'm using the apache web server that mac osx starts up when you turn on web
in "sharing" system preferences.
When I load a cgi using Template in my browser, the errors below appear in
the error log. However, when run that same cgi from command line, everything
works fine. Its dying when I try to do:
$t = Template->new({
INCLUDE_PATH => '.',
}) || die "error: " . Template->error();
I think it must be a problem with paths?
Thanks for any help,
Justin
from error.log:
[Thu Feb 12 08:23:12 2009] [error] [client ::1] error: failed to create
context: failed to create context: failed to load Template/Stash/XS.pm:
Couldn't load Template::Stash::XS 2.20:
[Thu Feb 12 08:23:12 2009] [error] [client ::1]
[Thu Feb 12 08:23:12 2009] [error] [client ::1] Can't load
'/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//auto/Template/Stash/XS/XS.bundle'
for module Template::Stash::XS:
dlopen(/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//auto/Template/Stash/XS/XS.bundle,
1): Symbol not found: _PL_sv_undef
[Thu Feb 12 08:23:12 2009] [error] [client ::1] Referenced from:
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//auto/Template/Stash/XS/XS.bundle
[Thu Feb 12 08:23:12 2009] [error] [client ::1] Expected in: dynamic
lookup
[Thu Feb 12 08:23:12 2009] [error] [client ::1] at
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//Template/Stash/XS.pm
line 31
[Thu Feb 12 08:23:12 2009] [error] [client ::1]
[Thu Feb 12 08:23:12 2009] [error] [client ::1] BEGIN failed--compilation
aborted at
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//Template/Stash/XS.pm
line 31.
[Thu Feb 12 08:23:12 2009] [error] [client ::1] Compilation failed in
require at
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//Template/Config.pm line
82.
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates