On 10/01/2012 15:17, Mike Howard wrote:
On 09/01/2012 16:57, Timothy Pearson wrote:
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;
Hi Mike,
This is odd--there were no substantive changes to tdelibs/kio in the
past
week. Here is the changelog for tdelibs:
http://git.trinitydesktop.org/cgit/tdelibs/
Do you have the original working sources? If so there is a way to
determine the GIT hash of those sources, narrowing down the number of
commits that might have introduced a problem.
As an aside tdelibs from GIT builds just fine on my development systems
(Ubuntu Oneiric, derived from Debian Squeeze).
Tim
Hi Tim,
Looks like an error on my part (no surprise there) as I've tried the
build with the original working sources that I pulled and also the
stable source and the result is the same.
I'm obviously not doing something that I was doing a week or so ago!
I'll get digging.
Cheers,
Mike.
Well I'm now totally stumped on this one. I've reinstalled the OS
(wheezy - a number of times), built fro GIT following the wiki (a number
of times) but still, building tdelibs fails (despite having built it a
week or so ago) with the following;
[ 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/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop
-I/tmp/tdelibs/tdecore
-I/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/tdecore -o
CMakeFiles/DCOP-shared.dir/dcopclient.cpp.o -c
/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp
In file included from
/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.cpp:2285:0:
/tmp/tdelibs/dcop/dcopclient.moc:121:47: error: QCString does not name a
type
/tmp/tdelibs/dcop/dcopclient.moc:121:57: error: ISO C++ forbids
declaration of t0 with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:121:6: error: prototype for void
DCOPClient::applicationRegistered(const int&) does not match any in
class DCOPClient
/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:745:8:
error: candidate is: void DCOPClient::applicationRegistered(const
TQCString&)
/tmp/tdelibs/dcop/dcopclient.moc:134:44: error: QCString does not name a
type
/tmp/tdelibs/dcop/dcopclient.moc:134:54: error: ISO C++ forbids
declaration of t0 with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:134:6: error: prototype for void
DCOPClient::applicationRemoved(const int&) does not match any in class
DCOPClient
/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:754:8:
error: candidate is: void DCOPClient::applicationRemoved(const TQCString&)
/tmp/tdelibs/dcop/dcopclient.moc:166:42: error: QCString does not name a
type
/tmp/tdelibs/dcop/dcopclient.moc:166:52: error: ISO C++ forbids
declaration of t1 with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:166:62: error: QByteArray does not name
a type
/tmp/tdelibs/dcop/dcopclient.moc:166:74: error: ISO C++ forbids
declaration of t2 with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:166:6: error: prototype for void
DCOPClient::callBack(int, const int&, const int&) does not match any in
class DCOPClient
/data/trinity/root.tde.tmp/tde.new/tde/main/tdelibs/dcop/dcopclient.h:794:8:
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:42: error: ISO C++ forbids
declaration of type name with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:196:42: error: ISO C++ forbids
declaration of type name with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected
primary-expression before const
/tmp/tdelibs/dcop/dcopclient.moc:196:36: error: expected ) before const
/tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids
declaration of type name with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:197:39: error: ISO C++ forbids
declaration of type name with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected
primary-expression before const
/tmp/tdelibs/dcop/dcopclient.moc:197:33: error: expected ) before const
/tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids
declaration of type name with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:200:62: error: ISO C++ forbids
declaration of type name with no type [-fpermissive]
/tmp/tdelibs/dcop/dcopclient.moc:200:56: error: expected
primary-expression before const
/tmp/tdelibs/dcop/dcopclient.moc:200:56: 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 hate being beaten but there is nothing above that jumps out at me and
I'm sure it's something to do with my configuration but I've gone over
it repeatedly!
If anybody with more knowledge than me can see something I'd be
eternally grateful.
Cheers,
Mike.
--