Morning,

I have recently installed Cygwin on my WinXP SP2 box, so i can do easy development on it. After getting perl onto it i began updating the modules that came with it to the latest CPAN versions. While doing these updates i often saw this message:
WARNING: Cannot schedule '/usr/lib/perl5/5.8/cygwin/auto/Cwd/Cwd.dll.A +AA' for deletion at reboot. Try installing Win32API::File to allow operations on locked files
Naturally i tried to follow these instructions, but came to an abrupt halt with this:
Running make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bli +b/lib', 'blib/arch')" t/*.t t/file....FAILED tests 2, 5-6, 13, 23-29, 31, 35 Failed 13/267 tests, 95.13% okay (less 1 skipped test: 253 oka +y, 94.76%) t/tie.....ok Failed Test Stat Wstat Total Fail List of Failed ---------------------------------------------------------------------- +--------- t/file.t 267 13 2 5-6 13 23-29 31 35 1 subtest skipped. Failed 1/2 test scripts. 13/277 subtests failed. Files=2, Tests=277, 1 wallclock secs ( 0.59 cusr + 0.15 csys = 0.74 + CPU) Failed 1/2 test programs. 13/277 subtests failed. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: YVES/Win32API-File-0.1001.tar.gz : make_test NO
I've tried googling for it, but all i could find were two cpan testers reports.

Do any of you know wether there is a way to fix this? (If it makes a difference, i'm running cpan via the Cygwin bash shell.)

In reply to Win32API under Cygwin not installing by Xenofur

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.