I'd like to try out JSDoc but I can't seem to get the Perl HTML-Template
installed properly on my machine. The answer may be right under my nose, but
I'm completely ignorant about Perl.
I've installed ActivePerl 5.8.8 on WinXP and when I try to run "ppm" from
the command prompt as suggested at http://jsdoc.sourceforge.net/#install I
have a "Perl Package Manager" window pop up. The PPM displays a number of
packages including "HTML-Parser", "HTML-Target" and "HTML-Tree" but no
"HTML-Template".
I tried installing all of the online repositories suggested by the
ActivePerl documentation. The repositories seemed to "register" OK, but the
list of installed packages never seemed to increase and nothing that looked
like "HTML-Template" ever appeared.
After some digging around I found HTML-Template-2.9 at
http://search.cpan.org/~samtregar/HTML-Template-2.9/Template.pm. I
downloaded this and tried various ways to make the PPM recognize this as a
repository. I finally got a status message on the PPM that indicated it
recognized the HTML-Template-2.9...
Downloading 2 packlist ... done
Downloading 2 HTML-Template PPD ... done
Synchronizing Database ...
...but the HTML-Template still does not show up in the list of packages in
the PPM, and running "perl jsdoc.pl test.js" still results in an error
"Can't locate HTML/Template in @INC..."
Is "HTML-Template" a component of one of the already-installed ActivePerl
PPM packages? Should it show up as its own package and should I see it in
the list of packages? Is it already installed somewhere and JSDoc just can't
see it?
If anyone could help push me in the right direction I'd really appreciate
it.
Thanks.
|