Don't you hate when the tests fail? That usually
is a sign that something is wrong, but %99 of the
time i have found that i can still use the module
anyways. Instead of issuing your one-liner, why
not go ahead and run the cpan interactive shell?
Just type 'cpan' and press enter. Follow the
directions and then you can easily install
modules like so:

cpan> install Template

but ... you will no doubt run into the same
problem. In those cases (or in the cases where
the test suite takes too damn long), issue:

cpan> look Template

instead and you will be taken to another shell
account where you will find youself inside a
untarred temp dir for the module. From here:

$perl Makefile.PL
$make
$make install

Since you have already downloaded the module from
you last command, you probably only need type the
last command.

Hope this helps, and comments/discussions about
this technique are more than welcome.

jeffa
--- Bryan Whitehead <[EMAIL PROTECTED]> wrote:
> 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


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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

Reply via email to