Click here to get back home

problems with Date-Calc

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
problems with Date-Calc Paul25 07-08-2004
Get Chitika Premium
Posted by Paul25 on July 8, 2004, 3:09 pm
Please log in for more thread options
I am trying to install Date-Calc-5.3 on a redhat 7.3 box with perl
5.8. During the make test I keep getting the following error.


....
t/m005....FAILED test 5
Failed 1/30 tests, 96.67% okay
t/m006....ok
t/m007....ok
t/m008....ok
t/m009....ok
t/m010....ok
t/m011....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------------
t/m005.t 30 1 3.33% 5
Failed 1/48 test scripts, 97.92% okay. 1/2716 subtests failed, 99.96%
okay.
make: *** [test_dynamic] Error 255

This specifically seems to be the test that it is failing on:

local($date->[0][2]) = undef;
if ("$date" eq '4ª 1-ago-2001')
{print "ok $nn";} else {print "not ok $nn";}
$n++;

Does anyone have any ideas?

Thanks,
Paul


Posted by Slaven Rezic on July 9, 2004, 1:00 am
Please log in for more thread options
paul25st@yahoo.com (Paul25) writes:

> I am trying to install Date-Calc-5.3 on a redhat 7.3 box with perl
> 5.8. During the make test I keep getting the following error.
>
>
> ...
> t/m005....FAILED test 5
> Failed 1/30 tests, 96.67% okay
> t/m006....ok
> t/m007....ok
> t/m008....ok
> t/m009....ok
> t/m010....ok
> t/m011....ok
> Failed Test Stat Wstat Total Fail Failed List of Failed
> ------------------------------------------------------------------------------
> t/m005.t 30 1 3.33% 5
> Failed 1/48 test scripts, 97.92% okay. 1/2716 subtests failed, 99.96%
> okay.
> make: *** [test_dynamic] Error 255
>
> This specifically seems to be the test that it is failing on:
>
> local($date->[0][2]) = undef;
> if ("$date" eq '4ª 1-ago-2001')
> {print "ok $nn";} else {print "not ok $nn";}
> $n++;
>
> Does anyone have any ideas?
>

I remember an error on RedHat 8.0 while the LANG environment variable
was set to a utf-8 locale. Try to unset LANG and run the test again.

Regards,
Slaven

--
Slaven Rezic - slaven <at> rezic <dot> de

Dump a Tk canvas as an xfig file:
        http://search.cpan.org/search?mode=module&query=Tk::CanvasFig


Posted by Paul25 on July 9, 2004, 11:31 am
Please log in for more thread options
>
> I remember an error on RedHat 8.0 while the LANG environment variable
> was set to a utf-8 locale. Try to unset LANG and run the test again.
>
> Regards,
> Slaven

Bingo, Thank you very much Slaven.

Paul


Similar ThreadsPosted
Problems using GD.pm January 8, 2005, 8:05 pm
Problems when using Net::MSN 1.022 May 4, 2005, 1:20 pm
LWP problems July 11, 2005, 3:50 pm
PPM Problems on Win.XP November 5, 2007, 4:26 pm
LWP Problems (Authentication?) September 5, 2004, 7:12 am
Net::FTP mdtm problems December 14, 2004, 11:00 pm
Problems with Parse::Lex May 5, 2005, 8:22 pm
DBI_DB2 problems June 2, 2006, 5:24 pm
CGI.pm: encoding problems June 9, 2006, 10:53 am
Test::Pod problems March 3, 2007, 1:04 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap