You need libkdecore and libqt1.2 in order to be able to compile KFontManager. To compile and install KFontManger simply execute the following command at the command-line prompt.
% ./configure % make % make install