dragonchild has asked for the wisdom of the Perl Monks concerning the following question:

Anyone have any problems with this configuration? I can't get it to pass the tests. But, when I run the tests with perl 5.8.0, some pass and some don't. I've rebuilt with the same results. I failed the following tests:

The reason I'm posting here instead of p5p is I wanted to find out if I'm missing something before I bother them. The thing is, op/sysio.t and io/tell.t pass when I run them with 5.8.0. (The others complain that Config.pm doesn't match. A problem with the tests that didn't complain?)

Something else - I commented out the include of Config for op/lfs and it immediately stopped cause Win32 doesn't have large file support? First, why did it do the test with perl5.8.2 and not perl5.8.0?

I built using the defaults Configure chose, in case it matters. And, for those wondering, I'm attempting to reproduce an error someone reported to me in one of my CPAN modules.

------
We are the carpenters and bricklayers of the Information Age.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Replies are listed 'Best First'.
Re: Building Perl 5.8.2 on Cygwin/Win2k
by ysth (Canon) on Jan 16, 2004 at 17:43 UTC
    I also get these, except the taint.t one which was a problem with the test and is fixed in 5.8.3. I think all three are related to large file support (which IIRC is new in Cygwin with the 1.5.x series). I've spent a little time looking at them, but not enough to determine if cygwin or perl is at fault.

    You are in a maze of twisty little perlio layers, all alike

      So, how do you get past it?

      ------
      We are the carpenters and bricklayers of the Information Age.

      Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

        make install

        Update: I've been meaning to get around to checking on just how bad the problem is in practice (i.e. does it actually affect seeking on small files as well as large ones?) and if there is a workaround to build perl as if large file support wasn't there, but haven't got around to it. Also been meaning to pester Gerrit (the cygwin perl maintainer) and some of the PerlIO gurus to look into it more...but I've been wasting my free time here at perlmonks instead :)

        The op/lfs failure goes away with cygwin 1.5.6-1.

        The op/tell failure seems to be happening in 5.8.x but not in bleadperl; if I get a chance I'll look more into it.