Installing HTML::HTMLDoc

software development

#1

I am unable to successfully install HTML::HTMLDoc on my DH server. Has anyone had success with this? This module is will create a PDF from a simple html input and works great.

When I try to install it (using cpan) I get the following errors:

Checking if your kit is complete…
Looks good
Writing Makefile for HTML::HTMLDoc
cp lib/HTML/HTMLDoc/PDF.pm blib/lib/HTML/HTMLDoc/PDF.pm
cp lib/HTML/HTMLDoc.pm blib/lib/HTML/HTMLDoc.pm
Manifying blib/man3/HTML::HTMLDoc::PDF.3pm
Manifying blib/man3/HTML::HTMLDoc.3pm
/usr/bin/perl “-Iblib/arch” “-Iblib/lib” test_htmldoc.PL test_htmldoc
htmldoc not found. please install first
make: *** [test_htmldoc] Error 1
MFRANKL/HTML-HTMLDoc-0.10.tar.gz
/usr/bin/make – NOT OK
Running make test
Can’t test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
MFRANKL/HTML-HTMLDoc-0.10.tar.gz : make NO

Can anyone help?


#2

You need htmldoc in order for html::htmldoc to work.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

I successfully installed htmldoc but I am not sure how to set the path to htmldoc when installing from cpan.

Please help!