I tried to change OLE.XS file but I am getting following error while test. make goes fine.
nolock_cpan> test Win32::OLE Running test for module 'Win32::OLE' Running make for J/JD/JDB/Win32-OLE-0.1712.tar.gz Has already been unwrapped into directory /home/c_gjoshi/.cpan/build +/Win32-OLE -0.1712-8xVrFX Has already been made Running make test PERL_DL_NONLAZY=1 /cygdrive/c/Utils/cygwin/bin/perl.exe "-MExtUtils::C +ommand::MM " "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_nls.t ....... ok t/2_variant.t ... ok t/3_ole.t ....... 2/58 OLE exception from "Microsoft Excel": Microsoft Excel cannot open or save any more documents because there i +s not enough available memory or disk space. To make more memory available, close workbooks or programs you no lon +ger need. To free disk space, delete files you no longer need from the disk you are saving to. Win32::OLE(0.1712) error 0x800a03ec in METHOD/PROPERTYGET "Add" at t/3_ole.t line 130 Win32::OLE->QueryObjectType: object is not a Win32::OLE object at t/3_ +ole.t line 131. Use of uninitialized value $Type in concatenation (.) or string at t/3 +_ole.t lin e 132. Can't call method "Xyzzy" on an undefined value at t/3_ole.t line 151. t/3_ole.t ....... Dubious, test returned 2 (wstat 512, 0x200) Failed 55/58 subtests t/4_compat.t .... 1/5 Use of uninitialized value $bk in concatenation +(.) or str ing at t/4_compat.t line 36. Can't use an undefined value as a HASH reference at t/4_compat.t line +41. t/4_compat.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 5/5 subtests t/5_unicode.t ... skipped: Unicode::String module not installed t/6_event.t ..... skipped: C:\Utils\Cygwin\home\c_gjoshi\.cpan\build\W +in32-OLE-0 .1712-8xVrFX\test.xls doesn't exist! Please run test 3_ole.t first t/7_overload.t .. skipped: C:\Utils\Cygwin\home\c_gjoshi\.cpan\build\W +in32-OLE-0 .1712-8xVrFX\test.xls doesn't exist! Please run test 3_ole.t first Test Summary Report ------------------- t/3_ole.t (Wstat: 512 Tests: 6 Failed: 3) Failed tests: 3-4, 58 Non-zero exit status: 2 Parse errors: Tests out of sequence. Found (58) but expected (6) Bad plan. You planned 58 tests but ran 6. t/4_compat.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 1. Files=7, Tests=47, 3 wallclock secs ( 0.03 usr 0.06 sys + 0.48 cusr + 1.27 csy s = 1.84 CPU) Result: FAIL Failed 2/7 test programs. 4/47 subtests failed. make: *** [test_dynamic] Error 255 JDB/Win32-OLE-0.1712.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports JDB/Win32-OLE-0.1712.tar.gz Failed during this command: JDB/Win32-OLE-0.1712.tar.gz : make_test NO

In reply to Re^4: How to make Win32::OLE work on Cygwin (cpan -i -T Win32::OLE) by gjoshi
in thread How to make Win32::OLE work on Cygwin by gjoshi

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.