Actually it fails with or without htdig. Looks like a typo on line 94 of /usr/bin/khc_docbookdig.pl - $kdekdehtmldir should be $kdehtmldir. -- Kde help search fails too quietly if htdig is not installed https://launchpad.net/bugs/19767