2014-09-10 47 views
0

我想在XP上的草莓Perl(32位)上構建HTML::HTMLDoc。即使重新安裝草莓後,我仍然會面臨以下問題。任何幫助將不勝感激。草莓Perl上的HTML :: HTMLDoc安裝問題

謝謝。

cpan> install HTML::HTMLDoc 
Fetching with LWP: 
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz 
Fetching with LWP: 
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz 
Fetching with LWP: 
http://cpan.strawberryperl.com/modules/03modlist.data.gz 
Creating database file ... 
Done! 
Running install for module 'HTML::HTMLDoc' 
Running make for M/MF/MFRANKL/HTML-HTMLDoc-0.10.tar.gz 
Fetching with LWP: 
http://cpan.strawberryperl.com/authors/id/M/MF/MFRANKL/HTML-HTMLDoc-0.10.tar.gz 
Fetching with LWP: 
http://cpan.strawberryperl.com/authors/id/M/MF/MFRANKL/CHECKSUMS 
Checksum for C:\strawberry\cpan\sources\authors\id\M\MF\MFRANKL\HTML-HTMLDoc-0.10.tar.gz ok 
Scanning cache C:\strawberry\cpan\build for sizes 
DONE 

    CPAN.pm: Building M/MF/MFRANKL/HTML-HTMLDoc-0.10.tar.gz 

Unparsable version '' for prerequisite IPC::Open3 at Makefile.PL line 4. 
Checking if your kit is complete... 
Looks good 
Generating a dmake-style Makefile 
Writing Makefile for HTML::HTMLDoc 
Writing MYMETA.yml and MYMETA.json 
cp lib/HTML/HTMLDoc.pm blib\lib\HTML\HTMLDoc.pm 
cp lib/HTML/HTMLDoc/PDF.pm blib\lib\HTML\HTMLDoc\PDF.pm 
C:\strawberry\perl\bin\perl.exe "-Iblib\arch" "-Iblib\lib" test_htmldoc.PL test_htmldoc 
'htmldoc' is not recognized as an internal or external command, 
operable program or batch file. 
htmldoc not found. please install first 
dmake.exe: Error code 129, while making 'test_htmldoc' 
    MFRANKL/HTML-HTMLDoc-0.10.tar.gz 
    C:\strawberry\c\bin\dmake.exe -- NOT OK 
Running make test 
    Can't test without successful make 
Running make install 
    Make had returned bad status, install seems impossible 
Stopping: 'install' failed for 'HTML::HTMLDoc'. 
Failed during this command: 
MFRANKL/HTML-HTMLDoc-0.10.tar.gz    : make NO 
+2

你有沒有安裝htmldoc並在你的路徑中設置? – 2014-09-10 14:50:41

回答

3

HTML::HTMLDoc只是圍繞htmldoc程序的包裝。當你的錯誤說

'htmldoc'不被識別爲內部或外部命令, 可操作的程序或批處理文件。找不到htmldoc。請安裝 第一

我懷疑這是告訴你,你需要在安裝HTML :: HTMLDOC之前安裝HTMLDOC。

+0

你是對的 - htmldoc沒有安裝,但不正確。結果是真正的問題。 – sm535 2014-09-13 14:38:31