Axel Gerstmair wrote:

> Hi all,
> 
> I've just installed the new version 2.05 of Template Toolkit and
> everything seems to work fine. The new XS stash is just great!!
> 
> During making the tests I got two errors/warnings. The first problem
> was t/file.t complaining that it did not find 'splitdir' but I got
> quickly rid of it by installing the latest version of File::Spec
> (previous version: 0.6, now: 0.82). Is this mentioned anywhere in the
> docs (I had just a quick glance at them)?

Unfortunately File::Spec's Changes page is not maintained, so it's hard 
to know when this new function was introduced. The following patch will do:


--- Makefile.PL.orig    Tue Sep 18 00:08:01 2001
+++ Makefile.PL Tue Sep 18 00:11:56 2001
@@ -541,14 +541,20 @@
  }

  package main;
-
+
+my %prereq =
+  (
+    'AppConfig'  => 1.52,
+    'File::Spec' => 0.82,
+  );
+
  my %opts = (
      'NAME'       => 'Template',
      'DISTNAME'     => 'Template-Toolkit',
      'VERSION_FROM' => 'lib/Template.pm',
      'EXE_FILES'    => [ 'bin/tpage', 'bin/ttree' ],
      'PMLIBDIRS'    => [ 'lib' ],
-    'PREREQ_PM'    => { 'AppConfig' => 1.52 },
+    'PREREQ_PM'    => \%prereq,
      'dist'         => {
        'COMPRESS' => 'gzip',
        'SUFFIX'   => 'gz',



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/




Reply via email to