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


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?


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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.