That role should be in both KTextEditor and kdelibs, so you have to either update kdelibs or build with -DBUILD_KTEXTEDITOR=on. No idea about the other thing, sorry ;) Greetings