in reply to Re^4: [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only
in thread [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only

If you still want to pursue this, you'll have to recreate the directory structure

Hm. Thought I had.


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?

  • Comment on Re^5: [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only

Replies are listed 'Best First'.
Re^6: [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only
by Corion (Patriarch) on Apr 08, 2012 at 17:31 UTC

    I interpret

    ... Can't stat lib: No such file or directory ...

    as the lib/ directory not existing, but if it exists then I'm out of ideas.

      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?

        Can't load 'C:\Perl64\packages\PerlIO-Layers-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.

        Up until the appearance of that error I was getting the same as you. I suspect we're using different compilers. (I have Microsoft Platform SDK for Windows Server 2003 R2.)

        Apart from the top level 'MANIFEST' file, do you have any files whose names =~ /manifest/i after 'build.bat' has been run ? (I don't.)

        I guess another possibility is that the difference arises because we have different M::B versions. I'm using 0.3901.

        Cheers,
        Rob

        That tends to happens when you have to do these things manually because people use broken tools.

        Which broken tools are you using and why?

        I see no problem with PerlIO-Layers-0.009.tar.gz, ptar or tar from gnuwin32/unxutils/mingw or 7zip all handle it fine

        PerlIO-Layers-0.009/ PerlIO-Layers-0.009/INSTALL PerlIO-Layers-0.009/t/ PerlIO-Layers-0.009/t/release-pod-syntax.t PerlIO-Layers-0.009/t/release-pod-coverage.t PerlIO-Layers-0.009/t/release-kwalitee.t PerlIO-Layers-0.009/t/00-compile.t PerlIO-Layers-0.009/t/10-basics.t PerlIO-Layers-0.009/Build.PL PerlIO-Layers-0.009/lib/ PerlIO-Layers-0.009/lib/PerlIO/ PerlIO-Layers-0.009/lib/PerlIO/Layers.pm PerlIO-Layers-0.009/lib/PerlIO/Layers.xs PerlIO-Layers-0.009/dist.ini PerlIO-Layers-0.009/LICENSE PerlIO-Layers-0.009/META.json PerlIO-Layers-0.009/Changes PerlIO-Layers-0.009/MANIFEST PerlIO-Layers-0.009/META.yml PerlIO-Layers-0.009/README