trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

Re: [trinity-devel] kdelibs FTBFS

From: /dev/ammo42 <mickeytintincolle@...>
Date: Mon, 12 Sep 2011 02:59:37 +0200
Le Sun, 11 Sep 2011 12:39:48 -0500,
"Timothy Pearson" <kb9vqf@...> a �crit :

> >> -the knotifywidgetbase.ui contains TQ* classes
> >> -there are no q*.h or tq*.h additional includes
> >> Is the Qt3 uic really supposed to guess the right includes for TQ*
> >> classes ?
> 
> There is a call to tqt-replace in the UIC CMake module, which
> converts the TQ* classes to the Q* classes UIC is expecting.
I found the cause of the error ! In fact I was using "su" to become
root, and this suppressed /opt/kde3/bin from the path, which prevented
tqt-replace from executing. With "su -" the package builds well (my
Qt3 packages contains a /etc/profile.d/qt.sh which add the right
path) :)
But I find it surprising that the failing of tqt-replace doesn't make
the entire compilation immediately fail.
> 
> > Furthermore, I have the following suspect code in
> > $kdelibsbuilddir/kio/kfile/CMakeFiles/kfile-static.dir/build.make:
> >
> > kio/kfile/knotifywidgetbase.h:
> > /home/ddslack/trinity/kdelibs/kio/kfile/knotifywidgetbase.ui
> >         $(CMAKE_COMMAND) -E cmake_progress_report
> > /tmp/SBo/build-trinity-kdelibs-3.5.13-svn20110515/CMakeFiles
> > $(CMAKE_PROGRESS_69)
> >         @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR)
> > --blue --bold "Generating knotifywidgetbase.h,
> > knotifywidgetbase.cpp"
> > cd /tmp/SBo/build-trinity-kdelibs-3.5.13-svn20110515/kio/kfile
> > && /usr/bin/cmake
> > -DUIC_EXECUTABLE:FILEPATH=/opt/kde3/lib64/qt3/bin/uic
> > -DTDE_QTPLUGINS_DIR:FILEPATH=
> > -DUI_FILE:FILEPATH=/home/ddslack/trinity/kdelibs/kio/kfile/knotifywidgetbase.ui
> > -P /home/ddslack/trinity/kdelibs/cmake/modules/tde_uic.cmake
> > cd /tmp/SBo/build-trinity-kdelibs-3.5.13-svn20110515/kio/kfile
> > && /opt/kde3/lib64/qt3/bin/moc knotifywidgetbase.h >>
> > knotifywidgetbase.cpp
> 
> What is suspect about it?
In fact, nothing.
> 
> Please post the knotifywidgetbase.ui, knotifywidgetbase.cpp, and
> kio/kfile/knotifywidgetbase.h files.
> 
> BTW, are you doing an in-source build?  If so, in-source builds are
> not supported, and could theoretically cause problems like this.
I do out-of-source builds in /tmp/SBo/build-* directories.
> 
> Thanks!
> 
> Tim
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-devel-unsubscribe@... For additional
> commands, e-mail: trinity-devel-help@... Read
> list messsages on the Web archive:
> http://trinity-devel.pearsoncomputing.net/ Please remember not to
> top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>