On 04/15/2011 08:00 PM, Baho Utot wrote:
On 04/15/2011 12:15 PM, Timothy Pearson wrote:
Scanning
dependencies of target ksieve_parser-static
[ 12%] Building CXX object
libksieve/parser/CMakeFiles/ksieve_parser-static.dir/utf8validator.cpp.o
[ 12%] Building CXX object
mimelib/CMakeFiles/mimelib-shared.dir/token.cpp.o
[ 13%] Building CXX object
libksieve/parser/CMakeFiles/ksieve_parser-static.dir/lexer.cpp.o
[ 13%] Building CXX object
mimelib/CMakeFiles/mimelib-shared.dir/uuencode.cpp.o
[ 13%] Building CXX object
mimelib/CMakeFiles/mimelib-shared.dir/binhex.cpp.o
Linking CXX shared library libmimelib.so
/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make[2]: *** [mimelib/libmimelib.so.1.0.1] Error 1
make[1]: *** [mimelib/CMakeFiles/mimelib-shared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 13%] Building CXX object
libksieve/parser/CMakeFiles/ksieve_parser-static.dir/parser.cpp.o
Linking CXX static library libksieve_parser.a
[ 13%] Built target ksieve_parser-static
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Use to build before the svn updates of yesterday and today.
That's strange; very little changed in CMake with that commit and I have
not encountered any build issues on my end.
Can you try a clean checkout/build and see if the problem persists?
Thanks!
Tim
I have deleted the kdepim svn source tree and attempted to build and I
get the same result.
I have not changed any of my build scripts and I always rebuild the
entire svn source from the begining.
Still fails exactly as above. What puzzles me is that all the
dependencies build as well as kdelibs and kdebase.
The build order is tqtinterface arts dbus-tqt kdelibs kdebase kdepim
kdewebdev kdegraphics dolphin kde-style-qtcurve
I will try to unlink the entire svn source and rebuild.
Thanks.
Patch to fixthis problem with mimelib
--- mimelib/CMakeLists.txt~ 2011-04-15 19:26:57.000000000 -0400
+++ mimelib/CMakeLists.txt 2011-04-15 20:53:43.623087690 -0400
@@ -25,6 +25,9 @@
${TQT_INCLUDE_DIRS}
)
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
##### mimelib (shared) ##########################
New issue
/trinity.source/kdepim/korganizer/kotodoviewitem.cpp: In member function
'void KOTodoViewItem::construct()':
/trinity.source/kdepim/korganizer/kotodoviewitem.cpp:147:42: warning:
'QString KCal::Todo::dtDueDateStr(bool) const' is deprecated (declared
at /trinity.source/kdepim/libkcal/todo.h:81)
/trinity.source/kdepim/korganizer/kotodoviewitem.cpp:149:42: warning:
'QString KCal::Todo::dtDueTimeStr() const' is deprecated (declared at
/trinity.source/kdepim/libkcal/todo.h:71)
[ 89%] Building CXX object
korganizer/CMakeFiles/korganizer-shared.dir/kolistview.cpp.o
[ 89%] Building CXX object
kmail/CMakeFiles/kmailprivate-shared.dir/kmreadermainwin.cpp.o
[ 89%] Building CXX object
korganizer/CMakeFiles/korganizer-shared.dir/koincidenceeditor.cpp.o
[ 89%] Building CXX object
kmail/CMakeFiles/kmailprivate-shared.dir/kmstartup.cpp.o
[ 89%] Building CXX object
korganizer/CMakeFiles/korganizer-shared.dir/koeventeditor.cpp.o
[ 89%] Building CXX object
kmail/CMakeFiles/kmailprivate-shared.dir/kmmainwidget.cpp.o
[ 89%] Building CXX object
korganizer/CMakeFiles/korganizer-shared.dir/kotodoeditor.cpp.o
/trinity.source/kdepim/kmail/kmmainwidget.cpp: In member function 'void
KMMainWidget::createWidgets()':
/trinity.source/kdepim/kmail/kmmainwidget.cpp:610:55: error: invalid
conversion from 'QObject*' to 'KListView*'
/trinity.source/kdepim/kmail/kmmainwidget.cpp:610:55: error:
initializing argument 2 of
'KMail::HeaderListQuickSearch::HeaderListQuickSearch(QWidget*,
KListView*, KActionCollection*, const char*)'
/trinity.source/kdepim/kmail/kmmainwidget.cpp:667:67: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:672:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:677:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:719:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:724:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:729:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:734:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:739:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:744:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:749:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:754:51: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp: In member function 'void
KMMainWidget::setupActions()':
/trinity.source/kdepim/kmail/kmmainwidget.cpp:2759:58: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:2861:52: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:2930:55: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
/trinity.source/kdepim/kmail/kmmainwidget.cpp:3063:58: warning: 'virtual
void KAction::plugAccel(KAccel*, bool)' is deprecated (declared at
/usr/include/kaction.h:367)
make[2]: ***
[kmail/CMakeFiles/kmailprivate-shared.dir/kmmainwidget.cpp.o] Error 1
make[1]: *** [kmail/CMakeFiles/kmailprivate-shared.dir/all] Error 2