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’
[ 2%] Building CXX object ktnef/lib/CMakeFiles/ktnef-shared.dir/ktnefparser.cpp.o
cd /home/david/tblds/trinity-kdepim/src/kdepim/ktnef/lib && /usr/bin/c++
-Dktnef_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
-I/home/david/tblds/trinity-kdepim/src/kdepim/ktnef
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim -I/opt/trinity/include
-I/opt/qt/include -I/opt/qt/include/tqt -o
CMakeFiles/ktnef-shared.dir/ktnefparser.cpp.o -c
/home/david/tblds/trinity-kdepim/src/kdepim/ktnef/lib/ktnefparser.cpp
/home/david/tblds/trinity-kdepim/src/kdepim/ktnef/lib/ktnefparser.cpp: In member
function ‘void KTNEFParser::checkCurrent(int)’:
/home/david/tblds/trinity-kdepim/src/kdepim/ktnef/lib/ktnefparser.cpp:489:18:
error: ‘tqfindByContent’ is not a member of ‘KMimeType’
make[2]: *** [ktnef/lib/CMakeFiles/ktnef-shared.dir/ktnefparser.cpp.o] Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make[1]: *** [ktnef/lib/CMakeFiles/ktnef-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-kdepim/src/kdepim'
make: *** [all] Error 2
Aborting...
--
David C. Rankin, J.D.,P.E.