By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,852 Members | 2,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,852 IT Pros & Developers. It's quick & easy.

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

100+
P: 121
hello,


I am trying to install the Text::NLP::Stanford::EntityExtract 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.......



Expand|Select|Wrap|Line Numbers
  1. nolock_cpan> install Text::NLP::Stanford:EntityExtract
  2. Running install for module 'Text::NLP::Stanford::EntityExtract'
  3. Running make for Z/ZA/ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz
  4.   Has already been unwrapped into directory C:\Perl\cpan\build\Text-NLP-Stanford
  5. -EntityExtract-0.06-pm2Xod
  6.   Has already been made
  7. Running make test
Expand|Select|Wrap|Line Numbers
  1. Microsoft (R) Program Maintenance Utility   Version 1.50
  2. Copyright (c) Microsoft Corp 1988-94. All rights reserved.
  3.  
  4.         C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'in
  5. c', 'blib\lib', 'blib\arch')" t/00-load.t t/pod-coverage.t t/pod.t
  6. t/00-load.........ok 1/6# Testing Text::NLP::Stanford::EntityExtract 0.06, Perl
  7. 5.008008, C:\Perl\bin\perl.exe
  8. # set env var NLR_SERVER to run live tests against the stanford.nlr server runni
  9. ng on 127.0.0.1 port 1234
  10. Unknown error at C:\Perl\cpan\build\Text-NLP-Stanford-EntityExtract-0.06-pm2Xod\
  11. blib\lib/Text/NLP/Stanford/EntityExtract.pm line 84, <DATA> line 8.
  12. # Looks like you planned 6 tests but only ran 2.
  13. # Looks like your test died just after 2.
  14. t/00-load.........dubious
  15.         Test returned status 255 (wstat 65280, 0xff00)
  16. DIED. FAILED tests 3-6
  17.         Failed 4/6 tests, 33.33% okay (less 1 skipped test: 1 okay, 16.67%)
  18. t/pod-coverage....ok
  19. t/pod.............ok
  20. Failed Test Stat Wstat Total Fail  List of Failed
  21. -------------------------------------------------------------------------------
  22. t/00-load.t  255 65280     6    8  3-6
  23. 1 subtest skipped.
  24. Failed 1/3 test scripts. 4/8 subtests failed.
  25. Files=3, Tests=8,  2 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)
  26. Failed 1/3 test programs. 4/8 subtests failed.
  27. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
  28. Stop.
  29.   ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz
  30.   nmake test -- NOT OK
  31. Running make install
  32.   make test had returned bad status, won't install without force
  33. Failed during this command:
  34.  ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz: make_test NO
Thanks
Jan 19 '09 #1
Share this Question
Share on Google+
2 Replies


KevinADC
Expert 2.5K+
P: 4,059
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.
Jan 19 '09 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
Expand|Select|Wrap|Line Numbers
  1. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
  2. Stop.
  3.   ZARQUON/Text-NLP-Stanford-EntityExtract-0.06.tar.gz
  4.   nmake test -- NOT OK
  5.  
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
Jan 19 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.