PATH=C:\cpanfly-5.24-32\var\megalib\bin;C:\Perl-5.24-32\site\bin;C:\Perl-5.24-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\cpanfly-5.24-32\var\megalib\bin;C:\Perl-5.24-32\site\bin;C:\Perl-5.24-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\CMake\bin Start 2016-07-31T15:04:48 ActivePerl-2400 CPAN-2.10 PATH=C:/CPANFL~2.24-/var/libs/bin;C:\CPANFL~2.24-\var\megalib\bin;C:\PERL-5~2.24-\site\bin;C:\PERL-5~2.24-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\CPANFL~2.24-\var\megalib\bin;C:\PERL-5~2.24-\site\bin;C:\PERL-5~2.24-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WINDOW~1\v1.0\;C:\PROGRA~1\Git\cmd;C:\PROGRA~2\CMake\bin Reading 'C:\cpanfly-5.24-32\var\cpan\Metadata' Database was generated on Sun, 31 Jul 2016 03:17:02 GMT Checksum for C:\cpanfly-5.24-32\var\cpan\sources\authors\id\G\GB\GBACON\File-BSDGlob-0.94.tar.gz ok File-BSDGlob-0.94/ File-BSDGlob-0.94/bsd_glob.h File-BSDGlob-0.94/t/ File-BSDGlob-0.94/t/taint.t File-BSDGlob-0.94/t/global.t File-BSDGlob-0.94/t/basic.t File-BSDGlob-0.94/TODO File-BSDGlob-0.94/BSDGlob.xs File-BSDGlob-0.94/MANIFEST File-BSDGlob-0.94/BSDGlob.pm File-BSDGlob-0.94/Makefile.PL File-BSDGlob-0.94/Changes File-BSDGlob-0.94/bsd_glob.c File-BSDGlob-0.94/README Configuring G/GB/GBACON/File-BSDGlob-0.94.tar.gz with Makefile.PL >>> C:\Perl-5.24-32\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Have \cpanfl~2.24-\var\megalib Want \perl-5~2.24-\lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [MSWin32-x86-multi-thread-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a dmake-style Makefile Writing Makefile for File::BSDGlob Writing MYMETA.yml and MYMETA.json GBACON/File-BSDGlob-0.94.tar.gz C:\Perl-5.24-32\bin\perl.exe Makefile.PL -- OK Running make for G/GB/GBACON/File-BSDGlob-0.94.tar.gz >>> dmake cp BSDGlob.pm blib\lib\File\BSDGlob.pm AutoSplitting blib\lib\File\BSDGlob.pm (blib\lib\auto\File\BSDGlob) Running Mkbootstrap for BSDGlob () "C:\Perl-5.24-32\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "BSDGlob.bs" "C:\Perl-5.24-32\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- BSDGlob.bs blib\arch\auto\File\BSDGlob\BSDGlob.bs 644 gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" "-IC:\Perl-5.24-32\lib\CORE" bsd_glob.c bsd_glob.c: In function 'glob3': bsd_glob.c:627:17: error: 'readdir' undeclared (first use in this function) bsd_glob.c:627:17: note: each undeclared identifier is reported only once for each function it appears in bsd_glob.c: In function 'globextend': bsd_glob.c:685:8: warning: extra tokens at end of #endif directive [enabled by default] bsd_glob.c: In function 'g_opendir': bsd_glob.c:796:2: warning: return makes pointer from integer without a cast [enabled by default] dmake: Error code 129, while making 'bsd_glob.o' GBACON/File-BSDGlob-0.94.tar.gz dmake -- NOT OK Finished 2016-07-31T15:04:54