Version: 4.5 (using KDE 4.5.1) OS: Linux It's installed in /usr, include files in /usr/include/libical, libraries in /usr/lib64, the .pc file is installed in /usr/lib64/pkg-config, which is in my $PKG_CONFIG_PATH. I have version 0.46, the current version. Once I patch in the paths manually into CMakeCache.txt (WTF, guys, really? REALLY?), the build still fails: /tmp/kdepimlibs-4.5.1/kcal/icalformat_p.cpp: In member function ‘icalproperty* KCal::ICalFormatImpl::writeAttachment(KCal::Attachment*)’: /tmp/kdepimlibs-4.5.1/kcal/icalformat_p.cpp:787:78: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ /tmp/kdepimlibs-4.5.1/kcal/icalformat_p.cpp:787:78: error: initializing argument 1 of ‘icalattach* icalattach_new_from_data(const char*, void (*)(unsigned char*, void*), void*)’ make[2]: *** [kcal/CMakeFiles/kcal.dir/icalformat_p.o] Error 1 make[1]: *** [kcal/CMakeFiles/kcal.dir/all] Error 2 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: try to build kdepimlibs Actual Results: fails Expected Results: not fail gcc 4.5.1, qt 4.6.2
From your build error message, libical _is_ being found. This problem is caused because a function in libical has had its signature changed in version 0.46, which was released after KDE SC 4.5.1. A fix for this has already been committed, and will be available in the next stable release. Meanwhile, you can apply this commit: http://websvn.kde.org/?view=revision&revision=1173187