Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only

by BrowserUk (Patriarch)
on Apr 08, 2012 at 15:59 UTC ( [id://964000]=note: print w/replies, xml ) Need Help??


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

I'd have a go, but the package doesn't work properly.

When I untar it, it dumps everything in the current directory throwing away the path structure.

Get beyond that and there is no makefile.pl.

I executed the build.pl, but no makefile is produced, so nmake doesn't work....bored now.


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?

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

    When using Module::Build, executing Build.pl is supposed to create Build.bat, which then calls (some other part of) Module::Build again, with the "right" parameters. This is based on the idea that you will have much more fun debugging a complex Perl script than you have debugging a Makefile which can show what it would execute and why how it fails. Ideally, instead of the "make dance", you do the "build dance":

    perl Build.PL Build Build test Build install

      Hm. Trouble is, to run Build.pl on my setup, I just type "build".

      Which means that when I get to step 2 in that scenario, I'm simple redoing step 1.

      Never mind, press on:

      C:\Perl64\packages\PerlIO-Layers-0.010>build.bat Building PerlIO-Layers C:\Perl64\packages\PerlIO-Layers-0.010>build.bat test t/00-compile.t ............ Can't stat lib: No such file or directory at t/00-compile.t line 24 t/00-compile.t ............ skipped: no tests to run t/10-basics.t ............. Can't locate PerlIO/Layers.pm in @INC (@IN +C contains: C:\Perl64\packages\PerlIO-Layers-0.010\blib\lib C:\Perl64 +\packages\PerlIO-Layers-0.010\blib\arch c:/Perl64/site/lib c:/Perl64/ +lib .) 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 2 (wstat 512, 0x200 +) 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/10-basics.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=5, Tests=0, 4 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU +) Result: FAIL Failed 1/5 test programs. 0/0 subtests failed. C:\Perl64\packages\PerlIO-Layers-0.010>dir t\00-compile.t Volume in drive C has no label. Volume Serial Number is 8C78-4B42 Directory of C:\Perl64\packages\PerlIO-Layers-0.010\t 05/04/2012 14:20 1,621 00-compile.t 1 File(s) 1,621 bytes 0 Dir(s) 144,573,480,960 bytes free

      Hm. No output of any kind from the "compile"; and error messages that make no sense from the nmake build test. Real useful!


      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?

        Heh - it seems that Module::Build does not scream bloody murder when files from the MANIFEST are not found where they should be. It seems that extracting the distribution tarball went awry somewhere for you (maybe GNU tar vs. other tar / Archive::Tar) and so the directories were only partially created. I think I remember that Archive::Tar is/was broken in that regard, as it always used some GNU extension instead of using POSIX conventions for storing the file path whenever it can and only using GNU when the target path gets too long. Or the other way around.

        If you still want to pursue this, you'll have to recreate the directory structure as in http://cpansearch.perl.org/src/LEONT/PerlIO-Layers-0.010/ and then proceed from there...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://964000]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-20 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found