installation problem with Text::NLP::Stanford::EntityExtract perl module

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sbettadpur
    New Member
    • Aug 2007
    • 121

    installation problem with Text::NLP::Stanford::EntityExtract perl module

    hello,


    I am trying to install the Text::NLP::Stan ford::EntityExt ract perl module on windows xp. But its not installing properly... can anybody tell solution for the above problem.

    But its installing successfully on Linux machine.

    The following error i was getting while installing..... ..



    Code:
    nolock_cpan> install Text::NLP::Stanford:EntityExtract
    Running install for module 'Text::NLP::Stanford::EntityExtract'
    Running make for Z/ZA/ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz
      Has already been unwrapped into directory C:\Perl\cpan\build\Text-NLP-Stanford
    -EntityExtract-0.06-pm2Xod
      Has already been made
    Running make test
    Code:
    Microsoft (R) Program Maintenance Utility   Version 1.50
    Copyright (c) Microsoft Corp 1988-94. All rights reserved.
    
            C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'in
    c', 'blib\lib', 'blib\arch')" t/00-load.t t/pod-coverage.t t/pod.t
    t/00-load.........ok 1/6# Testing Text::NLP::Stanford::EntityExtract 0.06, Perl
    5.008008, C:\Perl\bin\perl.exe
    # set env var NLR_SERVER to run live tests against the stanford.nlr server runni
    ng on 127.0.0.1 port 1234
    Unknown error at C:\Perl\cpan\build\Text-NLP-Stanford-EntityExtract-0.06-pm2Xod\
    blib\lib/Text/NLP/Stanford/EntityExtract.pm line 84, <DATA> line 8.
    # Looks like you planned 6 tests but only ran 2.
    # Looks like your test died just after 2.
    t/00-load.........dubious
            Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 3-6
            Failed 4/6 tests, 33.33% okay (less 1 skipped test: 1 okay, 16.67%)
    t/pod-coverage....ok
    t/pod.............ok
    Failed Test Stat Wstat Total Fail  List of Failed
    -------------------------------------------------------------------------------
    t/00-load.t  255 65280     6    8  3-6
    1 subtest skipped.
    Failed 1/3 test scripts. 4/8 subtests failed.
    Files=3, Tests=8,  2 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)
    Failed 1/3 test programs. 4/8 subtests failed.
    NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
    Stop.
      ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz
      nmake test -- NOT OK
    Running make install
      make test had returned bad status, won't install without force
    Failed during this command:
     ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz: make_test NO
    Thanks
    Last edited by eWish; Jan 19 '09, 04:28 PM. Reason: Please use the code tags
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    If you are using activeperl you should use the PPM application to install modules, but I have no idea if that particular module is available via PPM. If the module does not have any C code in it you can just use it via the 'lib' pragma. I can't tell you why your install is failing because I never try to install modules how you are trying with activeperl.

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      Code:
      NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
      Stop.
        ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz
        nmake test -- NOT OK
      While you had a lot of the tests failing, I am pretty sure that this is one major reason for the failure. It looks like you don't have nmake installed and it might very well be needed considering this is a "fatal error". I would search google for a windows implementation of nmake and install it.

      Also, what version of Perl are you using? (ie: ActiveState, Strawberry Perl)
      And also, which version of that distribution are you using?

      Regards,

      Jeff

      Comment

      Working...