This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
Windows filesystem is NOT case sensitive.
To build this module on cygin, two steps are required:
1. rename getdate.c to orig-getdate.c
2. then patch with this patch:
diff -urNb Date-GetDate-2.02-orig/GetDate.xs Date-GetDate-2.02/GetDate.xs
--- Date-GetDate-2.02-orig/GetDate.xs Sun Jul 12 16:44:32 1998
+++ Date-GetDate-2.02/GetDate.xs Sun Sep 9 19:17:04 2001
@@ -3,7 +3,7 @@
#include "XSUB.h"
/* #include <sys/timeb.h> */
-#include "./getdate.c"
+#include "./orig-getdate.c"
typedef struct timeb TimeB;
diff -urNb Date-GetDate-2.02-orig/MANIFEST Date-GetDate-2.02/MANIFEST
--- Date-GetDate-2.02-orig/MANIFEST Sun Jun 9 16:24:42 1996
+++ Date-GetDate-2.02/MANIFEST Sun Sep 9 19:15:33 2001
@@ -5,7 +5,7 @@
GetDate.pm
Makefile.PL
typemap
-getdate.c
+orig-getdate.c
getdate.pl
orig-getdate.y
t/getdate.t
--- Date-GetDate-2.02-orig/getdate.c Sun Jul 12 16:46:27 1998
+++ Date-GetDate-2.02/orig-getdate.c Sun Sep 9 19:19:54 2001
@@ -757,7 +757,9 @@
#ifdef __386BSD__
ftz.timezone = 0;
#else /* not HAVE_GETTIMEOFDAY, nor sgi, nor 386BSD -- probably USG */
+#ifndef __CYGWIN__
extern time_t timezone;
+#endif
ftz.timezone = (int) timezone / 60;
#endif /* not HAVE_GETTIMEOFDAY, nor sgi, nor 386BSD -- probably USG */
--
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=cygwin, osvers=1.3.2(0.3932), archname=cygwin-multi
uname='cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 unknown '
config_args='-de -Dusemultiplicity'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing
-I/usr/local/include',
optimize='-O2',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.3-5 (cygwin special)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -lcrypt
perllibs=-lcrypt
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'