我正在尝试在XP上使用Strawberry Perl(32位)构建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
答案 0 :(得分:3)
HTML::HTMLDoc只是htmldoc程序的包装器。当您的错误显示
时'htmldoc'未被识别为内部或外部命令, 可操作程序或批处理文件。找不到htmldoc。请安装 第一
我怀疑它告诉你在安装HTML :: HTMLDoc之前需要安装htmldoc。