Hello,
I have Perl 5.18.1 installed on my Windows 7 (32 bit) laptop.
I am trying to install WWW::Search::DugBank but the tests fail.

1. Kindly advise if I am missing something or if I am trying to install
something that's not supported on windows 32. I am a free user.

2. Also please suggest alternative

When I try using the above in my program to auto search drug bank I get the
following message:
-------------------------------------------------------------------------------------------------------
can not load backend DrugBank (Can't locate WWW/Search/DrugBank.pm in @INC
(you
may need to install the WWW::Search::DrugBank module) (@INC contains:
E:\oracle\
product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86
E:\oracle\product\10.2.0\db_1\per
l\5.8.3\lib E:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86
E:\oracle\p
roduct\10.2.0\db_1\perl\site\5.8.3
E:\oracle\product\10.2.0\db_1\perl\site\5.8.3
\lib E:\oracle\product\10.2.0\db_1\sysman\admin\scripts
E:\oracle\product\10.2.0
\db_1\perl\lib\5.8.3\MSWin32-x86
E:\oracle\product\10.2.0\db_1\perl\lib\5.8.3 E:
\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86-multi-thread
E:\oracle\pr
oduct\10.2.0\db_1\perl\site\5.8.3
E:\oracle\product\10.2.0\db_1\perl\site\5.8.3\
lib E:\oracle\product\10.2.0\db_1\sysman\admin\scripts
C:/strawberry/perl/site/l
ib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at (eval 8) line
1.
BEGIN failed--compilation aborted at (eval 8) line 1.
) at perl_auto13_drug_print.pl line 3.
----------------------------------------------------------------------------------------------------------

This is the error I get during install at CPAN prompt
use
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness"
"-e"
 "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')"
t/*.
t
t/00-load.t ....... 1/1 # Testing WWW::Search::DrugBank 0.03, Perl
5.018001, C:\
strawberry\perl\bin\perl.exe
t/00-load.t ....... ok
t/01-search.t ..... 1/4 validity error : ID targets already defined
> </table><table class="standard drug-association" id="targets"><tr
id="targets"

^
validity error : ID enzymes already defined
> </table><table class="standard drug-association" id="enzymes"><tr
id="enzymes"

^
validity error : ID transporters already defined
<table class="standard drug-association" id="transporters"><tr
id="transporters"

^
validity error : ID carriers already defined
</table><table class="standard drug-association" id="carriers"><tr
id="carriers"

^
# Looks like you planned 4 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/01-search.t ..... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/4 subtests
t/boilerplate.t ... ok
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing
POD c
overage
t/pod.t ........... skipped: Test::Pod 1.14 required for testing POD
Test Summary Report
-------------------
t/01-search.t   (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 4 tests but ran 1.
Files=5, Tests=5, 10 wallclock secs ( 0.19 usr +  0.08 sys =  0.27 CPU)
Result: FAIL
Failed 1/5 test programs. 0/5 subtests failed.
dmake.exe:  Error code 255, while making 'test_dynamic'
  DIBERRI/WWW-Search-DrugBank-0.03.tar.gz
  C:\strawberry\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DIBERRI/WWW-Search-DrugBank-0.03.tar.gz
Running make install
  make test had returned bad status, won't install without force
Stopping: 'install' failed for 'WWW::Search::DrugBank'.
Failed during this command:
 DIBERRI/WWW-Search-DrugBank-0.03.tar.gz      : make_test NO
----------------------------------------------------------------------------------------------------------

Thanks
Ankur Khanna
+91-9451668432

Reply via email to