Can't stat lib: No such file or directory
Seems I created the lib directory one level below where it was meant to be. That tends to happens when you have to do these things manually because people use broken tools.
I never seem to have these problems with the normal method; only these fatuous Build scripts.
The upshot of correcting that problem is:
C:\Perl64\packages\PerlIO-Layers-0.010>.\Build.PL compilet-1509425152.c Creating library C:\Windows\TEMP\compilet.lib and object C:\Windows +\TEMP\compilet.exp Generating code Finished generating code Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'PerlIO-Layers' version '0.010' C:\Perl64\packages\PerlIO-Layers-0.010>Build.bat Building PerlIO-Layers Generating script 'lib\PerlIO\Layers.ccs' cl -nologo -c @"lib\PerlIO\Layers.ccs" -Fo"lib\PerlIO\Layers.obj" "lib +\PerlIO\Layers.c" Layers.c lib\PerlIO\Layers.xs(47) : warning C4267: 'function' : conversion from + 'size_t' to 'I32', possible loss of data lib\PerlIO\Layers.c(125) : warning C4101: 'RETVAL' : unreferenced loca +l variable ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\PerlIO\Layers\Layer +s.bs') Generating script 'lib\PerlIO\Layers.lds' link @"lib\PerlIO\Layers.lds" -out:"blib\arch\auto\PerlIO\Layers\Layer +s.dll" Creating library lib\PerlIO\Layers.lib and object lib\PerlIO\Layers +.exp Generating code Finished generating code if exist -manifest "lib\PerlIO\Layers.dll.manifest" mt -nologo -manife +st "lib\PerlIO\Layers.dll.manifest" -outputresource:"blib\arch\auto\P +erlIO\Layers\Layers.dll";2 C:\Perl64\packages\PerlIO-Layers-0.010>Build.bat test t/00-compile.t ............ Can't load 'C:\Perl64\packages\PerlIO-Laye +rs-0.010\blib\arch/auto/PerlIO/Layers/Layers.dll' for module PerlIO:: +Layers: load_file:A dynamic link library (DLL) initialization routine + failed at c:/Perl64/lib/DynaLoader.pm line 201. at -e line 1 Compilation failed in require at -e line 1. t/00-compile.t ............ 1/1 # Failed test 'PerlIO::Layers loaded + ok' # at t/00-compile.t line 62. # '' # doesn't match '(?s-xim:^\s*PerlIO::Layers ok)' # Looks like you failed 1 test of 1. t/00-compile.t ............ Dubious, test returned 1 (wstat 256, 0x100 +) Failed 1/1 subtests t/10-basics.t ............. Can't load 'C:\Perl64\packages\PerlIO-Laye +rs-0.010\blib\arch/auto/PerlIO/Layers/Layers.dll' for module PerlIO:: +Layers: load_file:A dynamic link library (DLL) initialization routine + failed at c:/Perl64/lib/DynaLoader.pm line 201. at t/10-basics.t line 9 Compilation failed in require at t/10-basics.t line 9. BEGIN failed--compilation aborted at t/10-basics.t line 9. t/10-basics.t ............. Dubious, test returned 34 (wstat 8704, 0x2 +200) No subtests run t/release-kwalitee.t ...... skipped: these tests are for release candi +date testing t/release-pod-coverage.t .. skipped: these tests are for release candi +date testing t/release-pod-syntax.t .... skipped: these tests are for release candi +date testing Test Summary Report ------------------- t/00-compile.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/10-basics.t (Wstat: 8704 Tests: 0 Failed: 0) Non-zero exit status: 34 Parse errors: No plan found in TAP output Files=5, Tests=1, 19 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU +) Result: FAIL Failed 2/5 test programs. 1/1 subtests failed.
With the OS reporting runtime error:R6034
In reply to Re^7: [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only
by BrowserUk
in thread [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |