Hi All,
Having started from scratch again in my quest to build TDE on wheezy,
tdelibs is now failing to compile.
I've built and installed, from Git, as per the wiki (except that
avahi-tqt will not build) and tdelibs fails with;
..........
[ 1%] Building CXX object dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o
cd /tmp/tdelibs/dcop && /usr/bin/c++ -DDCOP_shared_EXPORTS
-DHAVE_CONFIG_H -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/tmp/tdelibs/dcop -I/tmp/tdelibs
-I/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop
-I/tmp/tdelibs/tdecore
-I/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/tdecore -o
CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c
/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp
In file included from
/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp:2285:
/tmp/tdelibs/dcop/dcopclient.moc:121: error: ISO C++ forbids declaration
of âQCStringâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:121: error: expected â,â or â...â
before â&â token
/tmp/tdelibs/dcop/dcopclient.moc:121: error: prototype for âvoid
DCOPClient::applicationRegistered(int)â does not match any in class
âDCOPClientâ
/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:745:
error: candidate is: void DCOPClient::applicationRegistered(const
TQCString&)
/tmp/tdelibs/dcop/dcopclient.moc:134: error: ISO C++ forbids declaration
of âQCStringâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:134: error: expected â,â or â...â
before â&â token
/tmp/tdelibs/dcop/dcopclient.moc:134: error: prototype for âvoid
DCOPClient::applicationRemoved(int)â does not match any in class
âDCOPClientâ
/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:754:
error: candidate is: void DCOPClient::applicationRemoved(const TQCString&)
/tmp/tdelibs/dcop/dcopclient.moc:166: error: ISO C++ forbids declaration
of âQCStringâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:166: error: expected â,â or â...â
before â&â token
/tmp/tdelibs/dcop/dcopclient.moc:166: error: prototype for âvoid
DCOPClient::callBack(int, int)â does not match any in class âDCOPClientâ
/root/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:794:
error: candidate is: void DCOPClient::callBack(int, const TQCString&,
const TQByteArray&)
/tmp/tdelibs/dcop/dcopclient.moc: In member function âvirtual bool
DCOPClient::qt_emit(int, TQUObject*)â:
/tmp/tdelibs/dcop/dcopclient.moc:196: error: ISO C++ forbids declaration
of âtype nameâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:196: error: ISO C++ forbids declaration
of âtype nameâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:196: error: expected primary-expression
before âconstâ
/tmp/tdelibs/dcop/dcopclient.moc:196: error: expected â)â before âconstâ
/tmp/tdelibs/dcop/dcopclient.moc:197: error: ISO C++ forbids declaration
of âtype nameâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:197: error: ISO C++ forbids declaration
of âtype nameâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:197: error: expected primary-expression
before âconstâ
/tmp/tdelibs/dcop/dcopclient.moc:197: error: expected â)â before âconstâ
/tmp/tdelibs/dcop/dcopclient.moc:200: error: ISO C++ forbids declaration
of âtype nameâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:200: error: ISO C++ forbids declaration
of âtype nameâ with no type
/tmp/tdelibs/dcop/dcopclient.moc:200: error: expected primary-expression
before âconstâ
/tmp/tdelibs/dcop/dcopclient.moc:200: error: expected â)â before âconstâ
make[2]: *** [dcop/CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o] Error 1
make[2]: Leaving directory `/tmp/tdelibs'
make[1]: *** [dcop/CMakeFiles/DCOP-shared.dir/all] Error 2
make[1]: Leaving directory `/tmp/tdelibs'
make: *** [all] Error 2
.........
I've then mirrored exactly what I've done on wheezy in a squeeze chroot
and the results are the same, including the failure of avahi-tqt to build.
As a matter of interest, apart from the 'util' linking issue on wheezy,
tdelibs built ok last week.
Any ideas?
Regards,
Mike.
--
I made extensive changes to the developer's page at the wiki. I ask that everybody review.
I won't pretend I got everything perfectly correct. Others with more experience need to perform a subject matter expert technical review.
I have a one sentence spot where eventually a link will be added as a gateway to package specific information about building. My hope for those pages will include unique build requirements, using extra include directories, what external packages are required to provide additional functionality, etc.
For that last point, this is not a detailed dependency list. Package managers and upstream maintainers handle those details. I am addressing additional functionality. For example, ocaml is not required to build kalzium in kdeedu, but adds additional functionality when present during building.
Please review the wiki. If uncomfortable directly editing the wiki, please forward corrections to me.
Thanks!
Darrell
I understand the distinction between public and private variables and functions. I don't have a grasp about why this gcc visibility thing makes a difference.
Why is enabling this good for me as a builder/packager?
As an end-user?
I get the feeling with hiding the private non shared stuff that executables and libraries are smaller in size, which theoretically reduces load times, which theoretically should improve response on the desktop. But how much?
A layman's explanation is much appreciated. :)
Darrell
I receive the following error message when building qt3-3.3.8.d from the 3.5.13 tarballs:
/dev/shm/qt3/bin/uic: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
How do I cure this error message?
Darrell
I'm building amarok 3.5.13. I receive this message:
Looking for linux/inotify.h - not found
The header file does exist at /usr/include/linux.inotify.h.
Any ideas for the message?
Darrell