Re: [ANNOUNCE] DateTime::Format::Strptime 1.0900

[email protected] (Jim Monty)
Newsgroups perl.datetime
Message-ID <[email protected]>
Rick Measham wrote:
> Available from your local CPAN archive as the mirrors pick it up. Or if you can't wait:
> http://datetime-format-strptime.googlecode.com/files/DateTime-Format-Strptime-1.0900.tgz

Thanks, Rick.

I'm unable to compile DateTime-Format-Strptime-1.0900 on Microsoft Windows XP. The Makefile.PL script is very different from the one for DateTime-Format-Strptime-1.0702, which is the version I last successfully compiled and installed in June 2008.

Here's what happens:

C:\DateTime\Modules\DateTime-Format-Strptime-1.0900>perl Makefile.PL
Set up gcc environment - 3.4.5 (mingw special)
-----------------------------------------
 __ _              _   _
/ _\ |_ _ __ _ __ | |_(_)_ __ ___   ___
\ \| __| '__| '_ \| __| | '_ ` _ \ / _ \
_\ \ |_| |  | |_) | |_| | | | | | |  __/
\__/\__|_|  | .__/ \__|_|_| |_| |_|\___|
            |_|
-----------------------------------------
To run thousands of other tests (mainly
for developers) then after running 'make'
and 'make test' run 'make test_more':
perl MakeFile.PL
make
make test
make test_more
Writing Makefile for DateTime::Format::Strptime
C:\DateTime\Modules\DateTime-Format-Strptime-1.0900>nmake
WARNING:  missing nmake.err; displaying error numbers without messages.

makefile(837) :  U1036:
Stop.

C:\DateTime\Modules\DateTime-Format-Strptime-1.0900>chdir ..

C:\DateTime\Modules>diff -c DateTime-Format-Strptime-1.0702\Makefile.PL DateTime-Format-Strptime-1.0900/Makefile.PL
*** DateTime-Format-Strptime-1.0702/Makefile.PL Mon Sep 17 17:16:28 2007
--- DateTime-Format-Strptime-1.0900/Makefile.PL Sun Feb 22 02:39:21 2009
***************
*** 2,11 ****
  
  print <<'EOF';
  -----------------------------------------
!   __                ___
!  (_   _|_  ._  ._    |   o  ._ _    _
!  __)   |_  |   |_)   |   |  | | |  (/_
!                |
  -----------------------------------------
  
  To run thousands of other tests (mainly
--- 2,13 ----
  
  print <<'EOF';
  -----------------------------------------
!  __ _              _   _
! / _\ |_ _ __ _ __ | |_(_)_ __ ___   ___
! \ \| __| '__| '_ \| __| | '_ ` _ \ / _ \
! _\ \ |_| |  | |_) | |_| | | | | | |  __/
! \__/\__|_|  | .__/ \__|_|_| |_| |_|\___|
!             |_|
  -----------------------------------------
  
  To run thousands of other tests (mainly
***************
*** 25,41 ****
      AUTHOR       => 'Rick Measham ([email protected])',
      ABSTRACT     => 'Parse and format strp and strf time patterns',
      PREREQ_PM    => {
!        'DateTime'           => '0.1402',
!        'DateTime::Locale'   => '0.35',
!        'DateTime::TimeZone' => '0.25',
         'Params::Validate'   => '0.64',
      },
  );
  
  sub MY::postamble {
!  return <<'MAKE_FRAG';
  test_more :: pure_all
   PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" t/more/*.t
  MAKE_FRAG
- 
  }
--- 27,50 ----
      AUTHOR       => 'Rick Measham ([email protected])',
      ABSTRACT     => 'Parse and format strp and strf time patterns',
      PREREQ_PM    => {
!        'DateTime'           => '0.4304',
!        'DateTime::Locale'   => '0.41',
!        'DateTime::TimeZone' => '0.79',
         'Params::Validate'   => '0.64',
      },
  );
  
  sub MY::postamble {
! return $^O eq 'MSWin32'?
! <<'MAKE_FRAG'
  test_more :: pure_all
+ SET PERL_DL_NONLAZY=1
+ $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e"
+ "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" t/more/*.t
+ MAKE_FRAG
+ :
+ <<'MAKE_FRAG';
+ test_more :: pure_all
   PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" t/more/*.t
  MAKE_FRAG
  }

C:\DateTime\Modules>

 
When I took the word 'SET' out from before 'PERL_DL_NONLAZY=1', I just got a different error number.

Any suggestions?

-- 
Jim Monty
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.