3

私は古き良き変数補間の代わりに TemplateToolkit を使用しようとしていますが、私のサーバーは私に多くの悲しみを与えています。ここに私が得ているエラーがあります:

*** 'D:\Inetpub\gic\source\extjs_source.plx' error message at: 2008/09/30 15:27:37 failed to create context: failed to create context: failed to load Template/Stash/XS.pm: Couldn't load Template::Stash::XS 2.20:

Can't load 'D:/Perl/site/lib/auto/Template/Stash/XS/XS.dll' for module Template::Stash::XS: load_file:The specified procedure could not be found at D:/Perl/lib/DynaLoader.pm line 230.  at D:/Perl/site/lib/Template/Stash/XS.pm line 31

BEGIN failed--compilation aborted at D:/Perl/site/lib/Template/Stash/XS.pm line 31. Compilation failed in require at D:/Perl/site/lib/Template/Config.pm line 82.

プラットフォームは Windows Server 2003 で、IIS のパッケージには ActiveState perl と PPM を使用しています。

4

2 に答える 2

14

これは久しぶりに思いつきました。Template::Stash::XS が必要なため、ActiveState の人々はパッケージをあまりチェックしていないようですが、PPM では実際には利用できません。この問題を修正するには、Template/Config.pm を編集して Template::Stash::XS を Template::Stash に変更します。

于 2008-10-01T14:59:25.563 に答える
4

私が聞いたところによると、Strawberry Perl で Template Toolkit が利用できるのであれば、間違いなく Strawberry への切り替えを検討する必要があります。

于 2008-10-01T20:54:47.193 に答える