syphilis has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only
by BrowserUk (Patriarch) on Apr 08, 2012 at 15:59 UTC | |
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.
| [reply] [d/l] [select] |
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
| [reply] [d/l] [select] |
by BrowserUk (Patriarch) on Apr 08, 2012 at 17:18 UTC | |
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:
Hm. No output of any kind from the "compile"; and error messages that make no sense from the 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.
| [reply] [d/l] [select] |
by Corion (Patriarch) on Apr 08, 2012 at 17:24 UTC | |
by BrowserUk (Patriarch) on Apr 08, 2012 at 17:27 UTC | |
| |
|
Re: [Win32] PerlIO-Layers fails 4 tests on perl-5.10 only
by bulk88 (Priest) on Apr 09, 2012 at 03:09 UTC | |
I couldnt pass the PIO Layers 0.005's test suite on AP 5.10.0 and 0.005 has a PPM release. I think I know why, http://ppm4.activestate.com/MSWin32-x86/5.10/1000/L/LE/LEONT/PerlIO-Layers-0.005.d/log-20100909T021003.txt On VC Perl 5.12, I failed other tests.
| [reply] [d/l] [select] |
by syphilis (Archbishop) on Apr 09, 2012 at 08:21 UTC | |
It'd be nice if PerlIO-Layers could be fixed so that it passes all tests on perl-5.10.0. (It's a dependency for File::Map which, in turn will be a dependency for the next stable release of PDL.) The author of the module is stumped, and I don't have much of an idea (and not much time at the moment, either). I don't know much about the performance of the earlier versions of PerlIO-Layers on windows (I think they might have issues), but 0.009 and 0.010 are fine for me on a wide range of perl versions from 5.8.9 to 5.15.9, and using a variety of compilers including gcc-4.5.2 (32-bit), gcc-4.7.0 (64-bit), MSVC++ 7.0 (32-bit), and MS Platform SDK for Windows Server 2003 R2 (64-bit). It seems odd that there should be failures for only 5.10.0 - and I thought someone here might have some ideas as to why that happens. But it's not mission-critical - more a request to anyone that's interested, rather than an urgent plea for help. Cheers, Rob | [reply] |
by bulk88 (Priest) on Apr 09, 2012 at 13:13 UTC | |
And the problem is, 5.10 has different flags than 5.12. I dont know yet if 5.10 has different C consts, or just different api design, and if the 16XXX/0x4000 flag is plain wrong. I havent looked if 0x4000 is hard coded in Layers the module or not. On 5.10. On 5.12 I will keep looking. I made this. Dont know what to think about it. http://pastebin.com/SSDrPpDD update, the flags come from XS in Layers.xs not hard coded consts in the PM, the flags of the layers come from http://perl5.git.perl.org/perl.git/blob/HEAD:/universal.c#l960 I dont have a C debugging enabled 5.10 so I cant give you any more advice. Search perlio.c in perl.git for changes between 5.10 and 5.12 or dont do the PIO::Layers test on 5.10. Its a design issue with 5.10, not a Layers.pm issue. | [reply] [d/l] [select] |
by syphilis (Archbishop) on Apr 10, 2012 at 02:55 UTC | |