Subject: | No automatic install on Win32 |
Installing Net-FullAuto on Win32 fails with the following message:
Running [C:\perl\perl\bin\perl.exe C:\perl\perl\bin\cpanp-run-perl
C:\perl\cpanplus\5.12.3\build\Net-FullAuto-0.9944\Makefile.PL]...
Can't locate Win32/DriveInfo.pm in @INC (@INC contains: ./inc .
C:\perl\perl\site\lib C:\perl\perl\vendor\lib C:\perl\perl\lib
C:\perl\cpanplus\5.12.3\build\Net-FullAuto-0.9944) at
C:\perl\perl\lib/if.pm line 13.
BEGIN failed--compilation aborted at C:\perl\cpanplus\5.12.3\build\Net-
FullAuto-0.9944\Makefile.PL line 78.
BEGIN failed--compilation aborted at C:\perl\perl\bin\cpanp-run-perl
line 8.
[ERROR] Could not run 'C:\perl\perl\bin\perl.exe Makefile.PL': Can't
locate Win32/DriveInfo.pm in @INC (@INC contains: ./inc .
C:\perl\perl\site\lib C:\perl\perl\vendor\lib C:\perl\perl\lib
C:\perl\cpanplus\5.12.3\build\Net-FullAuto-0.9944) at
C:\perl\perl\lib/if.pm line 13.
BEGIN failed--compilation aborted at C:\perl\cpanplus\5.12.3\build\Net-
FullAuto-0.9944\Makefile.PL line 78.
BEGIN failed--compilation aborted at C:\perl\perl\bin\cpanp-run-perl
line 8.
-- cannot continue
Most likely, installing Win32::DriveInfo will resolve this, but
installation through CPAN/CPANPLUS does not pick this up. Also, this
means that the automated Win32 smokers will not be able to test your
module.
This could be resolved by adding the module to the configure prereqs in
the META.yml or META.json file.