Subject: | Fails Makefile.PL and dmake in Strawberry-Perl |
Version check fails on win32 with the strawberry-perl build of perl.
Strawberry-perl includes dmake and cpan for win32 and is built in mingw.
C:\strawberry-perl\PPerl-0.25>dmake
cp PPerl.pm blib\lib\PPerl.pm
C:\strawberry-perl\perl\bin\perl.exe
C:\strawberry-perl\perl\lib\ExtUtils\xsubpp
-typemap C:\strawberry-perl\perl\lib\ExtUtils\typemap PPerl.xs >
PPerl.xsc &&
C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e mv
PPerl.xsc PPerl.
c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT
-DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2
-DVERSION=\"0.
25\" -DXS_VERSION=\"0.25\" "-IC:\strawberry-perl\perl\lib\CORE"
-DVARIANT_4
4BSD -DPERL_INTERP='"c:\strawberry-perl\perl\bin\perl.exe"' -I. PPerl.c
In file included from PPerl.xs:5:
pass_fd.c:7:21: sys/uio.h: No such file or directory
In file included from PPerl.xs:5:
pass_fd.c:97: error: field `cmsg' has incomplete type
pass_fd.c: In function `send_fd':
pass_fd.c:104: error: storage size of 'iov' isn't known
pass_fd.c:105: error: storage size of 'msg' isn't known
pass_fd.c:112: error: `SCM_RIGHTS' undeclared (first use in this function)
pass_fd.c:112: error: (Each undeclared identifier is reported only once
pass_fd.c:112: error: for each function it appears in.)
pass_fd.c: In function `recv_fd':
pass_fd.c:133: error: storage size of 'iov' isn't known
pass_fd.c:134: error: storage size of 'msg' isn't known
pass_fd.c:159: error: `SCM_RIGHTS' undeclared (first use in this function)
dmake: Error code 129, while making 'PPerl.o'