I tried to install Template via CPAN like this:
/usr/depot/sol8/perl/5.8.2/bin/perl -MCPAN -e 'install Template"

I get this error durring the make test part. Is this a know error? If so what is the workaround (besides not using Solaris)?

t/date...........ok 24/33Argument "%s" isn't numeric in localtime at
t/date.t line 66, <DATA> line 1.
FAILED 25:  - template text 11 did not match expected
t/date...........FAILED test 25
         Failed 1/33 tests, 96.97% okay

I went and manually ran the t/date.t like this:
perl date.t

and got this more descriptive error:

Argument "%s" isn't numeric in localtime at date.t line 66, <DATA> line 1.
MATCH FAILED
input: [[% USE day = date(format => '%A', locale => 'en_GB') %]\n[%
day.format('4:20:00 9-13-2000') %]\n]
expect: [Wednesday]
output: [Tuesday]
FAILED 25: - template text 11 did not match expected not ok 25 - template text 11 did not match expected


I'm running perl 5.8.2 on a Sun Solaris machine. Perl was built with gcc 2.95.3 in 32bit mode.

Out machine is configured for PST if that means anything for this date problem.

I'm trying to move a bugzilla website over to another machine and not being able to install Template is holding this back. Any help would be welcome!

Thanks

--
Bryan Whitehead
SysAdmin - JPL - Interferometry and Large Optical Systems
Phone: 818 354 2903
[EMAIL PROTECTED]


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

Reply via email to