Installing HTMLTidy for Mac OS X/Snow Leopard
by Kyle Skrinak on Mar.08, 2010, under Technology
The latest HTML Tidy has much goodness that the version that ships with Snow Leopard is missing. You’ll need to compile it to update your binary. It’s simple after you’ve done it once and easy to forget, so I’m documenting it this time.
- Test version
- Load Terminal
- tidy –version
- “HTML Tidy for Mac OS X released on 31 October 2006 – Apple Inc. build 15.3″
- No good, should say at least “HTML Tidy for Mac OS X released on 25 March 2009″
- Download the source code:
- cd to a directory you can track for cleanupcvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy
- cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login
- Hit the enter key for password, i.e., no password
- cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy
- This will create a directory, “tidy” in your current directory
- Compile
- cd into the tidy directory
- /bin/sh build/gnuauto/setup.sh
- sudo ./configure –prefix=/usr
- sudo make
- sudo make install
- If you error, may the Google search engine be your best friend.
- Test version
- tidy –version
- HTML Tidy for Mac OS X released on 25 March 2009
- tidy –version
- Delete the “tidy” directory
- Wow that was easy.
2 comments for this entry:


April 25th, 2010 on 12:11 am
hey
That really helpful post. It’s work on my computer again
Great Thanks
May 18th, 2010 on 3:41 pm
Helped me too, thanks.