Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Installing HTML::Tidy

by bliako (Monsignor)
on Sep 27, 2022 at 16:39 UTC ( #11147135=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11147135]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2022-12-07 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?