trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

tdelibs and tqtinterface FTBFS with tqt3

From: Darrell Anderson <humanreadable@...>
Date: Fri, 17 Feb 2012 12:59:16 -0800 (PST)
I addressed this issue previously in bug report 816. Seems the bug still exists.

Here is the relevant tdelibs failure:

=======================================================
[  1%] Building CXX object dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o
cd /dev/shm/tdelibs.build/dcop && /usr/bin/c++   -DDCOP_shared_EXPORTS -DHAVE_CONFIG_H -O2 -march=i486 -mtune=i686 -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/trinity/include -I/usr/include/tqt -I/dev/shm/tdelibs.build/dcop -I/dev/shm/tdelibs.build -I/dev/shm/tdelibs/dcop -I/dev/shm/tdelibs.build/tdecore -I/dev/shm/tdelibs/tdecore   -o CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c /dev/shm/tdelibs/dcop/dcopclient.cpp
/dev/shm/tdelibs/dcop/dcopclient.cpp: In member function 'bool DCOPClient::attachInternal(bool)':
/dev/shm/tdelibs/dcop/dcopclient.cpp:785: error: 'qint64' was not declared in this scope
/dev/shm/tdelibs/dcop/dcopclient.cpp:785: error: expected ')' before numeric constant
/dev/shm/tdelibs/dcop/dcopclient.cpp:785: error: expected ')' before ';' token
make[2]: *** [dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o] Error 1
make[2]: Leaving directory `/dev/shm/tdelibs.build'
make[1]: *** [dcop/CMakeFiles/DCOP-shared.dir/all] Error 2
make[1]: Leaving directory `/dev/shm/tdelibs.build'
make: *** [all] Error 2
=======================================================

tqt3, tqtinterface, arts, dbus-tqt, dbus-1-tqt, tqca-tls, libart_lgpl built without error. However, I need to patch tqtinterface to build with tqt3. Refer to bug report 816 for the patch.

Here are the relevant failures when I build tqtinterface with tqt3 and without my patch:

=======================================================
/dev/shm/tqtinterface.build/qtinterface/tqt.h:56:21: error: qglobal.h: No such file or directory
/dev/shm/tqtinterface/qtinterface/interface_qt3/tqassistantclient.h:29:30: error: qassistantclient.h: No such file or directory

/dev/shm/tqtinterface.build/qtinterface/tqt.h:56:21: error: qglobal.h: No such file or directory
/dev/shm/tqtinterface/qtinterface/interface_qt3/tqassistantclient.h:29:30: error: qassistantclient.h: No such file or directory
=======================================================

As mentioned in bug report 816, the tqtinterface errors are a result of limiting the cmake logic to searching only /usr/ for tqt3 include files. My feeble patch avoids that limitation and allows tqtinterface to build against tqt3, but tdelibs will not build.

These build issues do not appear with qt3.

Darrell