I am having the exact same problem trying to install DateTime-0.21. The installation appears to be successful but the tests fail and the module fails to work.
Did anyone ever come up with a solution? Thanks! Greg Donaldson Rockville, MD "Jim Monty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm trying to install DateTime-0.1901 for ActivePerl under Microsoft Windows > XP. I don't have a C compiler (but I don't need one, right?). I successfully > installed DateTime-TimeZone-0.2506 and DateTime-Locale-0.07. Basically, > *none* of the DateTime.pm tests are succeeding. > > > C:\DateTime\DateTime-0.1901>perl Makefile.PL > Testing if you have a C compiler > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > cl /c test.c > 'cl' is not recognized as an internal or external command, > operable program or batch file. > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' > Stop. > > I cannot determine if you have a C compiler > so I will install a perl-only implementation > > You can force installation of the XS version with > > perl Makefile.PL --xs > > Warning: prerequisite Pod::Man 1.14 not found. > Writing Makefile for DateTime > > C:\DateTime\DateTime-0.1901>nmake > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > > C:\DateTime\DateTime-0.1901>nmake test > ... > BEGIN failed--compilation aborted at > C:\DateTime\DateTime-0.1901\blib\lib/DateTi > me.pm line 43. > Compilation failed in require at t\28dow.t line 7. > BEGIN failed--compilation aborted at t\28dow.t line 7. > t\28dow.................dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1-1112 > Failed 1112/1112 tests, 0.00% okay > t\99-pod................ok > 1/1 skipped: File::Find::Rule not installed > Failed Test Stat Wstat Total Fail Failed List of Failed > -------------------------------------------------------------------------- -- > --- > t\00load.t 1 256 1 1 100.00% 1 > t\01sanity.t 255 65280 16 16 100.00% 1-16 > t\02last_day.t 255 65280 73 73 100.00% 1-73 > t\03components.t 255 65280 122 122 100.00% 1-122 > t\04epoch.t 255 65280 32 32 100.00% 1-32 > t\05set.t 255 65280 27 27 100.00% 1-27 > t\06add.t 255 65280 534 534 100.00% 1-534 > t\07compare.t 255 65280 26 26 100.00% 1-26 > t\09greg.t 255 65280 35 35 100.00% 1-35 > t\10subtract.t 255 65280 96 96 100.00% 1-96 > t\11duration.t 255 65280 86 86 100.00% 1-86 > t\12week.t 255 65280 26 26 100.00% 1-26 > t\13strftime.t 255 65280 132 132 100.00% 1-132 > t\14locale.t 255 65280 8 8 100.00% 1-8 > t\15jd.t 255 65280 16 16 100.00% 1-16 > t\16truncate.t 255 65280 40 40 100.00% 1-40 > t\17set_return.t 255 65280 7 7 100.00% 1-7 > t\18today.t 255 65280 6 6 100.00% 1-6 > t\19leap_second.t 255 65280 71 71 100.00% 1-71 > t\20infinite.t 255 65280 ?? ?? % ?? > t\21bad_params.t 255 65280 25 25 100.00% 1-25 > t\22from_doy.t 255 65280 98 98 100.00% 1-98 > t\23storable.t 255 65280 ?? ?? % ?? > t\24from_object.t 255 65280 8 8 100.00% 1-8 > t\25add_subtract.t 255 65280 10 10 100.00% 1-10 > t\26dt_leapsecond_pm.t 255 65280 9 9 100.00% 1-9 > t\27delta.t 255 65280 38 38 100.00% 1-38 > t\28dow.t 255 65280 1112 1112 100.00% 1-1112 > 1 subtest skipped. > Failed 28/29 test scripts, 3.45% okay. 2654/2655 subtests failed, 0.04% > okay. > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code > '0xff' > Stop. > > C:\DateTime\DateTime-0.1901> > > > I installed (nmake install) anyway and this is what I get when I try to use > DateTime: > > C:\DateTime\DateTime-0.1901>perl -MDateTime -e 1 > Can't locate loadable object for module DateTime in @INC (@INC contains: > C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/lib/XSLoader.pm line 43 > BEGIN failed--compilation aborted at C:/Perl/site/lib/DateTime.pm line 43. > Compilation failed in require. > BEGIN failed--compilation aborted. > > C:\DateTime\DateTime-0.1901> > > > I feel like I'm so close! I'm frustrated, though. Could *this* possibly be > the problem? > > Warning: prerequisite Pod::Man 1.14 not found. > > Actually, I do have Pod::Man installed! > > # Pod::Man -- Convert POD data to formatted *roff input. > # $Id: Man.pm,v 1.34 2002/07/15 05:46:00 eagle Exp $ > > Any ideas? > > -- > Jim Monty > [EMAIL PROTECTED] > >
