What did I miss in my Kubuntu 9.04 system? Nearly everything compiles until it is time to generate the binary file.

$ make
(X clip X)
src/gui/editors/notation/SystemFontXft.o: In function `Rosegarden::SystemFontXft::renderChar(QString, int, int, Rosegarden::SystemFont::Strategy, bool&)':
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.cpp:107: undefined reference to `XftTextExtents32'
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.cpp:98: undefined reference to `XftGlyphExtents'
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.cpp:91: undefined reference to `XftCharExists'
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.cpp:130: undefined reference to `XftDrawCreate'
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.cpp:145: undefined reference to `XftDrawGlyphs'
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.cpp:154: undefined reference to `XftDrawDestroy'
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.cpp:151: undefined reference to `XftDrawString32'
src/gui/editors/notation/SystemFontXft.o: In function `~SystemFontXft':
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.h:37: undefined reference to `XftFontClose'
/home/hjunes/workspace/rosegarden/src/gui/editors/notation/SystemFontXft.h:37: undefined reference to `XftFontClose'
collect2: ld:n paluuarvo oli 1
make: *** [rosegarden] Virhe 1

$ ls -1 /usr/include/X11/Xft/Xft.h
/usr/include/X11/Xft/Xft.h

Best wishes,

Heikki