Skip Menu |

This queue is for tickets about the Win32API-File CPAN distribution.

Report information
The Basics
Id: 122120
Status: new
Priority: 0/
Queue: Win32API-File

People
Owner: Nobody in particular
Requestors: johannes.riecken [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installation fails with Perl 5.22.1 under Windows 10
Date: Sat, 17 Jun 2017 18:13:37 +0800
To: bug-Win32API-File [...] rt.cpan.org
From: Johannes Riecken <johannes.riecken [...] gmail.com>
When installing via CPAN or from source, compilation of File.c in ActiveState Perl 5.22.1 fails because of a file not found. I have pasted the error messages when Cygwin's GCC 5.4.0 or Visual Studio 2017's compiler is in PATH: =====GCC===== C:\Users\Jo>cpan Win32API::File Loading internal null logger. Install Log::Log4perl for logging messages CPAN: Term::ANSIColor loaded ok (v4.03) CPAN: Storable loaded ok (v2.53_01) Reading 'C:\Perl64\cpan\Metadata' Database was generated on Fri, 16 Jun 2017 04:53:44 GMT Running install for module 'Win32API::File' CPAN: Digest::SHA loaded ok (v5.95) CPAN: Compress::Zlib loaded ok (v2.069) Checksum for C:\Perl64\cpan\sources\authors\id\C\CH\CHORNY\Win32API-File-0.1203.tar.gz ok CPAN: Archive::Tar loaded ok (v2.04) Win32API-File-0.1203 Win32API-File-0.1203/buffers.h Win32API-File-0.1203/cFile.h Win32API-File-0.1203/cFile.pc Win32API-File-0.1203/Changes Win32API-File-0.1203/const2perl.h Win32API-File-0.1203/File.pm Win32API-File-0.1203/File.xs Win32API-File-0.1203/Makefile.PL Win32API-File-0.1203/MANIFEST Win32API-File-0.1203/META.json Win32API-File-0.1203/META.yml Win32API-File-0.1203/ppport.h Win32API-File-0.1203/README Win32API-File-0.1203/typemap Win32API-File-0.1203/ex Win32API-File-0.1203/ex/CopyBoot.bat Win32API-File-0.1203/ex/DiskGeom.plx Win32API-File-0.1203/ex/FormatFloppy.plx Win32API-File-0.1203/ex/ListDevs.plx Win32API-File-0.1203/inc Win32API-File-0.1203/inc/ExtUtils Win32API-File-0.1203/inc/ExtUtils/Myconst2perl.pm Win32API-File-0.1203/t Win32API-File-0.1203/t/file.t Win32API-File-0.1203/t/tie.t CPAN: File::Temp loaded ok (v0.2304) CPAN: YAML::XS loaded ok (v0.59) CPAN: CPAN::Meta::Requirements loaded ok (v2.133) CPAN: Parse::CPAN::Meta loaded ok (v1.4417) CPAN: CPAN::Meta loaded ok (v2.150005) CPAN: Module::CoreList loaded ok (v5.20151213) Configuring C/CH/CHORNY/Win32API-File-0.1203.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Win32API::File Writing MYMETA.yml and MYMETA.json CHORNY/Win32API-File-0.1203.tar.gz C:\perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK Running make for C/CH/CHORNY/Win32API-File-0.1203.tar.gz cp cFile.pc blib\arch\Win32API\File\cFile.pc cp File.pm blib\lib\Win32API\File.pm Running Mkbootstrap for Win32API::File () "C:\perl64\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "File.bs" "C:\perl64\bin\perl.exe" "C:\Perl64\lib\ExtUtils\xsubpp" -typemap "C:\Perl64\lib\ExtUtils\typemap" -typemap "typemap" File.xs > File.xsc && "C:\perl64\bin\perl.exe" -MExtUtils::Command -e mv -- File.xsc File.c Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in File.xs, line 159 Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in File.xs, line 181 Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in File.xs, line 511 c:\cygwin64\bin\gcc.exe -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.1203\" -DXS_VERSION=\"0.1203\" "-IC:\Perl64\lib\CORE" File.c gcc: fatal error: no input files compilation terminated. dmake.exe: Error code 129, while making 'File.o' CHORNY/Win32API-File-0.1203.tar.gz C:\perl64\bin\dmake.exe -- NOT OK =====Visual Studio===== C:\Users\Jo\AppData\Local\Temp\IPC-Run-0.96>cpan Win32API::File Loading internal null logger. Install Log::Log4perl for logging messages CPAN: Term::ANSIColor loaded ok (v4.03) CPAN: Storable loaded ok (v2.53_01) Reading 'C:\Perl64\cpan\Metadata' Database was generated on Fri, 16 Jun 2017 04:53:44 GMT Running install for module 'Win32API::File' CPAN: Digest::SHA loaded ok (v5.95) CPAN: Compress::Zlib loaded ok (v2.069) Checksum for C:\Perl64\cpan\sources\authors\id\C\CH\CHORNY\Win32API-File-0.1203.tar.gz ok CPAN: Archive::Tar loaded ok (v2.04) Win32API-File-0.1203 Win32API-File-0.1203/buffers.h Win32API-File-0.1203/cFile.h Win32API-File-0.1203/cFile.pc Win32API-File-0.1203/Changes Win32API-File-0.1203/const2perl.h Win32API-File-0.1203/File.pm Win32API-File-0.1203/File.xs Win32API-File-0.1203/Makefile.PL Win32API-File-0.1203/MANIFEST Win32API-File-0.1203/META.json Win32API-File-0.1203/META.yml Win32API-File-0.1203/ppport.h Win32API-File-0.1203/README Win32API-File-0.1203/typemap Win32API-File-0.1203/ex Win32API-File-0.1203/ex/CopyBoot.bat Win32API-File-0.1203/ex/DiskGeom.plx Win32API-File-0.1203/ex/FormatFloppy.plx Win32API-File-0.1203/ex/ListDevs.plx Win32API-File-0.1203/inc Win32API-File-0.1203/inc/ExtUtils Win32API-File-0.1203/inc/ExtUtils/Myconst2perl.pm Win32API-File-0.1203/t Win32API-File-0.1203/t/file.t Win32API-File-0.1203/t/tie.t CPAN: File::Temp loaded ok (v0.2304) CPAN: YAML::XS loaded ok (v0.59) CPAN: CPAN::Meta::Requirements loaded ok (v2.133) CPAN: Parse::CPAN::Meta loaded ok (v1.4417) CPAN: CPAN::Meta loaded ok (v2.150005) CPAN: Module::CoreList loaded ok (v5.20151213) Configuring C/CH/CHORNY/Win32API-File-0.1203.tar.gz with Makefile.PL Use of uninitialized value in pattern match (m//) at c:/Perl64/lib/ExtUtils/MM_Win32.pm line 39. Use of uninitialized value in pattern match (m//) at c:/Perl64/lib/ExtUtils/MM_Win32.pm line 40. Checking if your kit is complete... Looks good Use of uninitialized value $arg in substitution (s///) at c:/Perl64/lib/ExtUtils/MM_Unix.pm line 3209. Use of uninitialized value $arg in substitution (s///) at c:/Perl64/lib/ExtUtils/MM_Unix.pm line 3210. Use of uninitialized value $arg in substitution (s///) at c:/Perl64/lib/ExtUtils/MM_Unix.pm line 3211. Use of uninitialized value $m[7] in join or string at c:/Perl64/lib/ExtUtils/MM_Unix.pm line 343. Generating a dmake-style Makefile Writing Makefile for Win32API::File Writing MYMETA.yml and MYMETA.json CHORNY/Win32API-File-0.1203.tar.gz c:\perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK Running make for C/CH/CHORNY/Win32API-File-0.1203.tar.gz cp cFile.pc blib\arch\Win32API\File\cFile.pc cp File.pm blib\lib\Win32API\File.pm Running Mkbootstrap for Win32API::File () "C:\perl64\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "File.bs" "C:\perl64\bin\perl.exe" "C:\Perl64\lib\ExtUtils\xsubpp" -typemap "C:\Perl64\lib\ExtUtils\typemap" -typemap "typemap" File.xs > File.xsc && "C:\perl64\bin\perl.exe" -MExtUtils::Command -e mv -- File.xsc File.c Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in File.xs, line 159 Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in File.xs, line 181 Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in File.xs, line 511 c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.1203\" -DXS_VERSION=\"0.1203\" "-IC:\Perl64\lib\CORE" File.c 'c' is not recognized as an internal or external command, operable program or batch file. "C:\perl64\bin\perl.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Win32API::File\", 'DLBASE' => 'File', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Win32API\File\File.dll -mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib" File.o "C:\Perl64\lib\CORE\libperl522.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -def:File.def Microsoft (R) Incremental Linker Version 12.00.40629.0 Copyright (C) Microsoft Corporation. All rights reserved. LINK : warning LNK4044: unrecognized option '/mdll'; ignored LINK : warning LNK4044: unrecognized option '/s'; ignored LINK : warning LNK4044: unrecognized option '/static-libgcc'; ignored LINK : warning LNK4044: unrecognized option '/static-libstdc++'; ignored LINK : warning LNK4044: unrecognized option '/LC:\Perl64\lib\CORE'; ignored LINK : warning LNK4044: unrecognized option '/LC:\MinGW\x86_64-w64-mingw32\lib'; ignored LINK : warning LNK4044: unrecognized option '/lmoldname'; ignored LINK : warning LNK4044: unrecognized option '/lkernel32'; ignored LINK : warning LNK4044: unrecognized option '/luser32'; ignored LINK : warning LNK4044: unrecognized option '/lgdi32'; ignored LINK : warning LNK4044: unrecognized option '/lwinspool'; ignored LINK : warning LNK4044: unrecognized option '/lcomdlg32'; ignored LINK : warning LNK4044: unrecognized option '/ladvapi32'; ignored LINK : warning LNK4044: unrecognized option '/lshell32'; ignored LINK : warning LNK4044: unrecognized option '/lole32'; ignored LINK : warning LNK4044: unrecognized option '/loleaut32'; ignored LINK : warning LNK4044: unrecognized option '/lnetapi32'; ignored LINK : warning LNK4044: unrecognized option '/luuid'; ignored LINK : warning LNK4044: unrecognized option '/lws2_32'; ignored LINK : warning LNK4044: unrecognized option '/lmpr'; ignored LINK : warning LNK4044: unrecognized option '/lwinmm'; ignored LINK : warning LNK4044: unrecognized option '/lversion'; ignored LINK : warning LNK4044: unrecognized option '/lodbc32'; ignored LINK : warning LNK4044: unrecognized option '/lodbccp32'; ignored LINK : warning LNK4044: unrecognized option '/lcomctl32'; ignored LINK : fatal error LNK1181: cannot open input file 'File.o' dmake.exe: Error code 157, while making 'blib\arch\auto\Win32API\File\File.dll' CHORNY/Win32API-File-0.1203.tar.gz c:\perl64\bin\dmake.exe -- NOT OK