bliako has asked for the wisdom of the Perl Monks concerning the following question:

HTML::Tidy depends on a C library tidyp which is a fork, by the author, of libtidy. Compiling the source from the repository is not straight forward as a configure script is missing and additionally, the provided INSTALL instructions contain this warning:

If you do NOT have a ./configure program, then you are working from the source repository, not the tarball. Please get a release tarball from http://github.com/petdance/tidyp/downloads.

But the link is dead.

What worked for me (in Linux) was to bootstrap configure by using the autotools mantra:

libtoolize --ltdl --copy --force && aclocal && automake --add-missing --copy && autoconf

Then also shush the beast with adding these missing files: touch AUTHORS NEWS

And finally ./configure && make all && make install will hopefully install this dependency.

Warning: serious cargo-culting above.

Note both packages mentioned above are read-only and I could not find a way to post this comment there where it belongs.

bw, bliako

Replies are listed 'Best First'.
Re: Installing HTML::Tidy
by marto (Cardinal) on Sep 27, 2022 at 20:17 UTC

        rt://133983 seems to address this, from some years ago.