I tried to compile with version 5.10.0
This time I have a new error.
See the last line for the interesting output.
error building dll file from 'lib\Cwd.c' at C:/Perl/lib/ExtUtils/CBuilder/Platform/Windows.pm line 143.
USER on LOCALHOST [C:\temp\PathTools-3.29\PathTools-3.29]
--> which perl
C:\Perl\bin\perl.EXE
USER on LOCALHOST [C:\temp\PathTools-3.29\PathTools-3.29]
--> perl --version
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Binary build 1004 [287188] provided by ActiveState http://www.ActiveState.com
Built Sep 3 2008 13:16:37
...
USER on LOCALHOST [C:\temp\PathTools-3.29\PathTools-3.29]
--> perl Build.PL
Deleting _build
Creating custom builder _build\lib\MyModuleBuilder.pm in _build\lib
Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Checking whether your kit is complete...
Looks good
Checking prerequisites...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'PathTools' version '3.29'
USER on LOCALHOST [C:\temp\PathTools-3.29\PathTools-3.29]
--> .\Build
Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST
+_IN_INC -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bi
+tfields -O2 "-DXS_VERSION=\"3.2
9\"" "-DVERSION=\"3.29\"" -I"C:\Perl\lib\CORE" -I"\include" -o "lib\Cwd.o" "lib\Cwd.c"
In file included from C:/Perl/lib/CORE/sys/socket.h:28,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:103:2: warning: #warning "f
+d_set and associated macros hav
e been defined in sys/types. This may cause runtime problems with W32 sockets"
In file included from C:/Perl/lib/CORE/sys/socket.h:32,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/win32.h:75:20: direct.h: No such file or directory
In file included from C:/Perl/lib/CORE/sys/socket.h:32,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/win32.h:270: error: conflicting types for 'intptr_t'
/usr/include/stdint.h:60: error: previous declaration of 'intptr_t' was here
C:/Perl/lib/CORE/win32.h:275: error: conflicting types for 'uintptr_t'
/usr/include/stdint.h:62: error: previous declaration of 'uintptr_t' was here
C:/Perl/lib/CORE/win32.h:297: error: conflicting types for 'mkstemp'
/usr/include/stdlib.h:100: error: previous declaration of 'mkstemp' was here
C:/Perl/lib/CORE/win32.h:297: error: conflicting types for 'mkstemp'
/usr/include/stdlib.h:100: error: previous declaration of 'mkstemp' was here
C:/Perl/lib/CORE/win32.h:341: error: parse error before "Stat_t"
In file included from C:/Perl/lib/CORE/sys/socket.h:32,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/win32.h:447: error: parse error before '*' token
In file included from C:/Perl/lib/CORE/win32.h:553,
from C:/Perl/lib/CORE/sys/socket.h:32,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/perlio.h:117: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:118: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:121: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:123: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:124: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:124: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:124: warning: data definition has no type or storage class
C:/Perl/lib/CORE/perlio.h:125: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:218: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:231: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:343: error: parse error before "SV"
C:/Perl/lib/CORE/perlio.h:346: error: parse error before "SV"
C:/Perl/lib/CORE/perlio.h:349: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:358: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:362: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:369: error: parse error before '*' token
C:/Perl/lib/CORE/perlio.h:374: error: parse error before '*' token
In file included from C:/Perl/lib/CORE/win32.h:559,
from C:/Perl/lib/CORE/sys/socket.h:32,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/win32iop.h:73: error: parse error before "Stat_t"
C:/Perl/lib/CORE/win32iop.h:74: error: parse error before "Stat_t"
C:/Perl/lib/CORE/win32iop.h:77: error: parse error before "IV"
C:/Perl/lib/CORE/win32iop.h:133: error: parse error before "Stat_t"
In file included from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/sys/socket.h:34:1: warning: "ENOTSOCK" redefined
In file included from /usr/include/errno.h:9,
from C:/Perl/lib/CORE/perl.h:1180,
from lib\Cwd.xs:2:
/usr/include/sys/errno.h:119:1: warning: this is the location of the previous definition
In file included from lib\Cwd.xs:2:
C:/Perl/lib/CORE/perl.h:3119:1: warning: "__attribute__format__" redefined
In file included from C:/Perl/lib/CORE/win32.h:553,
from C:/Perl/lib/CORE/sys/socket.h:32,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/perlio.h:214:1: warning: this is the location of the previous definition
In file included from C:/Perl/lib/CORE/perl.h:3275,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/iperlsys.h:610: warning: "struct _stati64" declared inside parameter list
C:/Perl/lib/CORE/iperlsys.h:610: warning: its scope is only this definition or declaration, which i
+s probably not what you want
C:/Perl/lib/CORE/iperlsys.h:618: warning: "struct _stati64" declared inside parameter list
C:/Perl/lib/CORE/iperlsys.h:631: warning: "struct _stati64" declared inside parameter list
In file included from C:/Perl/lib/CORE/perl.h:4659,
from lib\Cwd.xs:2:
C:/Perl/lib/CORE/intrpvar.h:85: error: field `Istatbuf' has incomplete type
C:/Perl/lib/CORE/intrpvar.h:86: error: field `Istatcache' has incomplete type
In file included from lib\Cwd.xs:3:
C:/Perl/lib/CORE/XSUB.h:508:1: warning: "clearerr" redefined
In file included from C:/Perl/lib/CORE/win32.h:74,
from C:/Perl/lib/CORE/sys/socket.h:32,
from C:/Perl/lib/CORE/perl.h:1195,
from lib\Cwd.xs:2:
/usr/include/stdio.h:571:1: warning: this is the location of the previous definition
lib\Cwd.xs: In function `bsd_realpath':
lib\Cwd.xs:89: warning: comparison between pointer and integer
error building dll file from 'lib\Cwd.c' at C:/Perl/lib/ExtUtils/CBuilder/Platform/Windows.pm line
+143.
-J_Tom_Moon_79