On Tue Sep 30 00:30:09 2014, ccli@exch.mail.umd.edu wrote:
Show quoted text> Dear Sir or Madam,
>
> I am unable to install HTML::Strip to my laptops. I tried two laptops
> but neither one was able to install the module. Could you please help me?
>
> Best
> Congcong
>
>
> *Congcong Li**
> ("Congcong" is pronounced as /chong'chong/)
> PhD Candidate 2015
> Robert H. Smith School of Business
> University of Maryland
> **_
> _**919-257-9650* <tel:919-257-9650>* MOBILE*_
> _ccli@rhsmith.umd.edu <mailto:rfelix@rhsmith.umd.edu>_
> _
http://www.rhsmith.umd.edu <
http://www.rhsmith.umd.edu/>
Actually it seems that the latest release which had not made it to my cpan mirror yet fails for windows. Sorry for jumping the gun on this one.
Test offbyone.t is failing. The following is an attempt to install on Windows 7 64bit, Strawberry Perl v5.20.0 (also 64bit) using the latest source from github:
D:\HTML-Strip-master>dmake
cp Strip.pm blib\lib\HTML\Strip.pm
Running Mkbootstrap for HTML::Strip ()
D:\perl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Strip.bs
D:\perl\perl\bin\perl.exe D:\perl\perl\lib\ExtUtils\xsubpp -typemap D:\perl\perl\lib\ExtUtils\typemap -typemap typemap Strip.xs > Strip.xsc && D:\perl\perl\bin\perl.exe -MExtUtils::Command -e mv -- Strip.xsc Strip.c
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" "-ID:\perl\perl\lib\CORE" Strip.c
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" "-ID:\perl\perl\lib\CORE" strip_html.c
D:\perl\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"HTML::Strip\", 'DLBASE' => 'Strip', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def Strip.def --output-exp dll.exp
g++.exe -o blib\arch\auto\HTML\Strip\Strip.xs.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"D:\perl\perl\lib\CORE" -L"D:\perl\c\lib" Strip.o strip_html.o D:\perl\perl\lib\CORE\libperl520.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Strip.def --base-file dll.base --output-exp dll.exp
g++.exe -o blib\arch\auto\HTML\Strip\Strip.xs.dll -mdll -s -L"D:\perl\perl\lib\CORE" -L"D:\perl\c\lib" Strip.o strip_html.o D:\perl\perl\lib\CORE\libperl520.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
D:\perl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 755 blib\arch\auto\HTML\Strip\Strip.xs.dll
D:\HTML-Strip-master>dmake test
D:\perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/auto-reset.t ................ ok
t/basic.t ..................... ok
t/comment.t ................... ok
t/edge-case.t ................. ok
t/filter.t .................... ok
t/mathematical-comparisons.t .. ok
t/offbyone.t .................. < was unexpected at this time.
t/offbyone.t .................. No subtests run
t/striptags.t ................. ok
t/whitespace-single-char.t .... ok
Test Summary Report
-------------------
t/offbyone.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
Files=9, Tests=50, 1 wallclock secs ( 0.08 usr + 0.01 sys = 0.09 CPU)
Result: FAIL
Failed 1/9 test programs. 0/50 subtests failed.
dmake: Error code 255, while making 'test_dynamic'
The issue lies within this test, perhaps a shell quoting issue.