I'm trying to compile tdesvn from 3.5.13 tarballs, but it fails on: [100%] Building CXX object kbugbuster/kresources/CMakeFiles/kcal_bugzilla-module.dir/kcalresource.cpp.o cd /home/soltys/tde-packaging/arch/3.5.13/trinity-extras/trinity-kdesdk/src/build/kbugbuster/kresources && /usr/bin/c++ -Dkcal_bugzilla_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/home/soltys/tde-packaging/arch/3.5.13/trinity-extras/trinity-kdesdk/src/build/kbugbuster/kresources -I/home/soltys/tde-packaging/arch/3.5.13/trinity-extras/trinity-kdesdk/src/kdesdk/kbugbuster/kresources/../backend -I/opt/trinity/include -I/opt/qt/include -I/usr/include/tqt -o CMakeFiles/kcal_bugzilla-module.dir/kcalresource.cpp.o -c /home/soltys/tde-packaging/arch/3.5.13/trinity-extras/trinity-kdesdk/src/kdesdk/kbugbuster/kresources/kcalresource.cpp /home/soltys/tde-packaging/arch/3.5.13/trinity-extras/trinity-kdesdk/src/kdesdk/kbugbuster/kresources/kcalresource.cpp:35:30: fatal error: libkcal/vcaldrag.h: No such file or directory compilation terminated. make[2]: *** [kbugbuster/kresources/CMakeFiles/kcal_bugzilla-module.dir/kcalresource.cpp.o] Error 1 make[2]: Leaving directory `/home/soltys/tde-packaging/arch/3.5.13/trinity-extras/trinity-kdesdk/src/build' make[1]: *** [kbugbuster/kresources/CMakeFiles/kcal_bugzilla-module.dir/all] Error 2 make[1]: Leaving directory `/home/soltys/tde-packaging/arch/3.5.13/trinity-extras/trinity-kdesdk/src/build' make: *** [all] Error 2 Apparentely it cannot find libkcal/vcaldrag.h which is present in the system under /opt/trinity/include/kde. It's part of tdepim suite which I have installed. Is there a quick way to fix this? Adding /opt/trinity/include/kde to CMAKE_INCLUDE_PATH didn't help. I noticed that many of the header files from various tde components (but not all of them) are installed it $prefix/include/kde. Shouldn't kde dir be replaced with trinity, or dropped? This path is present in the main tde git tree too.