how to install Win32-Word-Writer-0.02

Discussion in 'Perl Misc' started by liyuefu@gmail.com, Sep 3, 2006.

  1. Guest

    Hi friends, I want to use perl to analyze some txt files and create a
    Windows Word document.

    I found the module Win32-Word-Writer-0.02 can help me to archive
    this, but when I
    tried to test it, I got some errors:

    ----------------------------------------------------------------------
    D:\develop\Win32-Word-Writer-0.02>nmake test

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    C:\Perl\bin\perl.exe Build --makefile_env_macros 1 test
    t\00-load..............ok
    t\01-saveas............ok
    t\02-write.............ok 9/15Could not set style (Normal), it may not
    be define
    d in the document

    # Looks like you planned 15 tests but only ran 9.
    # Looks like your test died just after 9.
    t\02-write.............dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 10-15
    Failed 6/15 tests, 60.00% okay
    t\03-open..............ok 7/15Could not set style (Normal), it may not
    be define
    d in the document

    # Looks like you planned 15 tests but only ran 10.
    # Looks like your test died just after 10.
    t\03-open..............dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 11-15
    Failed 5/15 tests, 66.67% okay
    t\04-saveas_format.....Can't locate Sub/Uplevel.pm in @INC (@INC
    contains: D:\de
    velop\Win32-Word-Writer-0.02\blib\lib
    D:\develop\Win32-Word-Writer-0.02\blib\arc
    h C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    BEGIN failed--compilation aborted at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    Compilation failed in require at t\04-saveas_format.t line 5.
    BEGIN failed--compilation aborted at t\04-saveas_format.t line 5.
    t\04-saveas_format.....dubious
    Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-21
    Failed 21/21 tests, 0.00% okay
    t\05-stylespec.........Can't locate Sub/Uplevel.pm in @INC (@INC
    contains: D:\de
    velop\Win32-Word-Writer-0.02\blib\lib
    D:\develop\Win32-Word-Writer-0.02\blib\arc
    h C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    BEGIN failed--compilation aborted at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    Compilation failed in require at t\05-stylespec.t line 5.
    BEGIN failed--compilation aborted at t\05-stylespec.t line 5.
    t\05-stylespec.........dubious
    Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-9
    Failed 9/9 tests, 0.00% okay
    t\05-writeparagraph....Can't locate Sub/Uplevel.pm in @INC (@INC
    contains: D:\de
    velop\Win32-Word-Writer-0.02\blib\lib
    D:\develop\Win32-Word-Writer-0.02\blib\arc
    h C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    BEGIN failed--compilation aborted at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    Compilation failed in require at t\05-writeparagraph.t line 5.
    BEGIN failed--compilation aborted at t\05-writeparagraph.t line 5.
    t\05-writeparagraph....dubious
    Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-21
    Failed 21/21 tests, 0.00% okay
    t\06-setstyle..........Can't locate Sub/Uplevel.pm in @INC (@INC
    contains: D:\de
    velop\Win32-Word-Writer-0.02\blib\lib
    D:\develop\Win32-Word-Writer-0.02\blib\arc
    h C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    BEGIN failed--compilation aborted at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    Compilation failed in require at t\06-setstyle.t line 5.
    BEGIN failed--compilation aborted at t\06-setstyle.t line 5.
    t\06-setstyle..........dubious
    Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-13
    Failed 13/13 tests, 0.00% okay
    t\07-italic_bold.......Can't locate Sub/Uplevel.pm in @INC (@INC
    contains: D:\de
    velop\Win32-Word-Writer-0.02\blib\lib
    D:\develop\Win32-Word-Writer-0.02\blib\arc
    h C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    BEGIN failed--compilation aborted at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    Compilation failed in require at t\07-italic_bold.t line 5.
    BEGIN failed--compilation aborted at t\07-italic_bold.t line 5.
    t\07-italic_bold.......dubious
    Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-28
    Failed 28/28 tests, 0.00% okay
    t\08-list..............Can't locate Sub/Uplevel.pm in @INC (@INC
    contains: D:\de
    velop\Win32-Word-Writer-0.02\blib\lib
    D:\develop\Win32-Word-Writer-0.02\blib\arc
    h C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    BEGIN failed--compilation aborted at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    Compilation failed in require at t\08-list.t line 5.
    BEGIN failed--compilation aborted at t\08-list.t line 5.
    t\08-list..............dubious
    Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-38
    Failed 38/38 tests, 0.00% okay
    t\09-table.............Can't locate Sub/Uplevel.pm in @INC (@INC
    contains: D:\de
    velop\Win32-Word-Writer-0.02\blib\lib
    D:\develop\Win32-Word-Writer-0.02\blib\arc
    h C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    BEGIN failed--compilation aborted at C:/Perl/site/lib/Test/Exception.pm
    line 6.
    Compilation failed in require at t\09-table.t line 5.
    BEGIN failed--compilation aborted at t\09-table.t line 5.
    t\09-table.............dubious
    Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-1044
    Failed 1044/1044 tests, 0.00% okay
    t\pod-coverage.........skipped
    all skipped: Test::pod::Coverage 1.04 required for testing POD
    coverage
    t\pod..................skipped
    all skipped: Test::pod 1.14 required for testing POD
    Failed Test Stat Wstat Total Fail Failed List of Failed
    -------------------------------------------------------------------------------
    t\02-write.t 255 65280 15 12 80.00% 10-15
    t\03-open.t 255 65280 15 10 66.67% 11-15
    t\04-saveas_format.t 2 512 21 42 200.00% 1-21
    t\05-stylespec.t 2 512 9 18 200.00% 1-9
    t\05-writeparagraph.t 2 512 21 42 200.00% 1-21
    t\06-setstyle.t 2 512 13 26 200.00% 1-13
    t\07-italic_bold.t 2 512 28 56 200.00% 1-28
    t\08-list.t 2 512 38 76 200.00% 1-38
    t\09-table.t 2 512 1044 2088 200.00% 1-1044
    2 tests skipped.
    Failed 9/13 test scripts, 30.77% okay. 1185/1218 subtests failed, 2.71%
    okay.
    NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff'
    Stop.
    -----------------------------------------------------------------------------------------


    any suggestions is appreciated. Thanks.

    Li Yuefu
     
    , Sep 3, 2006
    #1
    1. Advertising

  2. On 3 Sep 2006 06:07:31 -0700, "" <>
    wrote:

    >I found the module Win32-Word-Writer-0.02 can help me to archive
    >this, but when I
    >tried to test it, I got some errors:


    ....

    >t\04-saveas_format.....Can't locate Sub/Uplevel.pm in @INC (@INC
    >contains: D:\de


    I'd start by installing Sub::Uplevel. On the other hand,
    http://testers.cpan.org/show/Win32-Word-Writer.html shows 2 out 2
    testers failed to build the module.
     
    Brian Greenfield, Sep 3, 2006
    #2
    1. Advertising

  3. Guest

    Thanks Brian for kindly reply.

    I have installed uplevel, but the error is still there.

    I wonder if the module was tested completely, Maybe I should use
    win32:eek:le instead.


    Brian Greenfield 写é“:

    > On 3 Sep 2006 06:07:31 -0700, "" <>
    > wrote:
    >
    > >I found the module Win32-Word-Writer-0.02 can help me to archive
    > >this, but when I
    > >tried to test it, I got some errors:

    >
    > ...
    >
    > >t\04-saveas_format.....Can't locate Sub/Uplevel.pm in @INC (@INC
    > >contains: D:\de

    >
    > I'd start by installing Sub::Uplevel. On the other hand,
    > http://testers.cpan.org/show/Win32-Word-Writer.html shows 2 out 2
    > testers failed to build the module.
     
    , Sep 4, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Lyman
    Replies:
    0
    Views:
    704
    Alex Lyman
    Mar 7, 2004
  2. DaVinci
    Replies:
    1
    Views:
    589
    Piotr Kobzda
    Oct 5, 2006
  3. Henri
    Replies:
    1
    Views:
    404
    Henri
    Jul 13, 2004
  4. Li Chen
    Replies:
    5
    Views:
    117
    Austin Ziegler
    Oct 30, 2006
  5. Tony
    Replies:
    2
    Views:
    418
Loading...

Share This Page