I would check and see if the package is part of the native distribution. I know for a fact an HTML Tidy package (binary) is part of
. I just found one for
. And there appears to be a source package for
. In these distributions you're better off using the code the distribution provides.
David.