edbrowse icon indicating copy to clipboard operation
edbrowse copied to clipboard

html-tidy.c:14:10: fatal error: 'tidy.h' file not found

Open bjohas opened this issue 6 years ago • 4 comments

Hello,

I'm trying to compile on OS X, and I get the above error. There's no tidy.h file in the source.

Many thanks!

bjohas avatar Aug 04 '18 09:08 bjohas

tidy.h comes from https://github.com/htacg/tidy-html5

They ship a .dmg image for OSX but I have no idea if that's usable as is or if you'll need to recompile it

martinetd avatar Aug 04 '18 09:08 martinetd

Many thanks!

brew install tidy-html5

fixed this.

Duktape is next - there's no installer for OS X. Where would I place the source so that the the edbrowse make picks it up?

bjohas avatar Aug 04 '18 10:08 bjohas

We don't use the source directly but the headers and library, you'll need to install it somewhere. I'm really not a mac expert so you'll need to figure it out, /usr/local is what I often hear being recommended?

martinetd avatar Aug 04 '18 10:08 martinetd

I imagine this issue can be closed since it was originally about not finding the tidy header due to it not being installed and then moved on to how to build duktape which edbrowse no longer uses.

Users who want an easy way to install edbrowse on macOS can use MacPorts.

ryandesign avatar Jun 21 '22 09:06 ryandesign