kde-devel@fidel:~/kdelibs$ mkdir ~/kdebuild
kde-devel@fidel:~/kdelibs$ cd ~/kdebuild/
kde-devel@fidel:~/kdebuild$ cmake ~/kdelibs
-- Found Qt-Version 4.2.2
-- Found X11: /usr/lib/libX11.so
-- Building kdelibs...
-- Found KDE4 kconfig_compiler preprocessor: /home/kde-devel/kdelibs/bin/./kconfig_compiler.shell
-- Found Strigi: /home/kde-devel/kde/lib/libstreamindexer.so
CMake Error: kdelibs requires an out of source build. Please create a separate build directory and run 'cmake path_to_kdelibs [options]' there.
-- Configuring done
kde-devel@fidel:~/kdebuild$