On 03/06/2011 12:06 PM, Serghei Amelian wrote: > On Sunday 06 March 2011 19:59:30 David C. Rankin wrote: >> On 03/06/2011 02:34 AM, Serghei Amelian wrote: >>> On Sunday 06 March 2011 09:30:44 David C. Rankin wrote: >>>> Serghei, >>>> >>>> I have run across a cmake error in kdepim: >>>> >>>> -- checking for 'gpgme' >>>> CMake Error at ConfigureChecks.cmake:45 (string): >>>> string sub-command REGEX, mode REPLACE needs at least 6 arguments >>>> total to command. >>> >>> Fixed in svn (I hope). >> >> Looks like CMake is working, but I think I've run into either another CMake >> error or an actual code error: >> >> ‘tqfindByContent’ is not a member of ‘KMimeType’ > > try to add to tqt.h: > > #define tqfindByContent findByContent > > [...] > So far that is working. I've past the original error and it is continuing to build. UUgh.. made it to 6% :) [ 6%] Building CXX object libkcal/CMakeFiles/kcal-shared.dir/icalformatimpl.cpp.o cd /home/david/tblds/trinity-kdepim/src/kdepim/libkcal && /usr/bin/c++ -Dkcal_shared_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DUSE_QT3 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -fPIC -I/home/david/tblds/trinity-kdepim/src/kdepim/libkcal -I/home/david/tblds/trinity-kdepim/src/kdepim/libkcal/versit -I/home/david/tblds/trinity-kdepim/src/kdepim -I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim -I/home/david/tblds/trinity-kdepim/src/kdepim/ktnef -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -o CMakeFiles/kcal-shared.dir/icalformatimpl.cpp.o -c /home/david/tblds/trinity-kdepim/src/kdepim/libkcal/icalformatimpl.cpp /home/david/tblds/trinity-kdepim/src/kdepim/libkcal/icalformatimpl.cpp: In member function ‘icalproperty* KCal::ICalFormatImpl::writeAttachment(KCal::Attachment*)’: /home/david/tblds/trinity-kdepim/src/kdepim/libkcal/icalformatimpl.cpp:674:76: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ /home/david/tblds/trinity-kdepim/src/kdepim/libkcal/icalformatimpl.cpp:674:76: error: initializing argument 1 of ‘icalattach* icalattach_new_from_data(const char*, void (*)(unsigned char*, void*), void*)’ make: *** [libkcal/CMakeFiles/kcal-shared.dir/icalformatimpl.cpp.o] Error 1 make: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim' make: *** [libkcal/CMakeFiles/kcal-shared.dir/all] Error 2 make: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim' make: *** [all] Error 2 Aborting... Any magic for this one? :) -- David C. Rankin, J.D.,P.E.