curl-library
Re: Trouble compiling htmltidy example from libcurl
Date: Thu, 14 May 2015 10:41:14 +0100
On 14/05/15 06:51, Rayne wrote:
> Hi,
>
> I am trying to parse an offline HTML source code file and then store
> each value in a table cell in my C program. I thought of using the
> htmltidy example, but I am having trouble compiling it. The errors I
> have are
>
> |error: tidy/tidy.h: No such file or directory
> error: tidy/buffio.h: No such file or directory
> |
>
> I cannot find these 2 files even though I have installed |tidy|,
> |libtidy| and |libtidy-devel| via |yum|.
>
> |# rpm -qa | grep tidy
> tidy-0.99.0-19.20070615.1.el6.x86_64
> libtidy-0.99.0-19.20070615.1.el6.x86_64
> libtidy-devel-0.99.0-19.20070615.1.el6.x86_64
> |
>
> Is there anything else I should install? I am using RHEL6.
Try getting rid of the "tidy/" prefix from the filenames. The
Fedora/EPEL packages install these headers straight into /usr/include.
Paul.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-05-14