LinkGrammar is a library currently being developed by the AbiWord community, and its website is here.
However, might I recommend installing KDE using your distribution's package manager instead? This should resolve the "painful" experience you're having trying to compile it yourself. Instructions for this can be found here.