This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't build 3.1 on Kubuntu

Tags: None
(comma "," separated)
masterjonny
Registered Member
Posts
2
Karma
0

Can't build 3.1 on Kubuntu

Sat Jun 28, 2008 11:17 am
I won't pretend to know a great deal about linux, but so far I've managed to get the "cmake" bit to work, and now im 89% through the "make" when I get the error:

Code: Select all
[ 84%] Building CXX object ktorrent/CMakeFiles/ktorrent.dir/ktorrent_automoc.o
In file included from /home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:10,
                 from /home/jonny/Make/ktorrent/build/ktorrent/ktorrent_automoc.cpp:2:
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:78: error: ‘bt::TorrentInterface’ has not been declared
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:79: error: ‘bt::TorrentInterface’ has not been declared
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:80: error: ‘Group’ has not been declared
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:81: error: ‘Group’ has not been declared
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:95: error: ‘Group’ was not declared in this scope
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:95: error: template argument 1 is invalid
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:99: error: ‘Group’ was not declared in this scope
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:99: error: template argument 1 is invalid
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:99: error: typedef name may not be a nested-name-specifier
/home/jonny/Make/ktorrent/build/ktorrent/../../ktorrent/dbus/dbus.h:99: error: expected ‘;’ before ‘DBusGroupItr’
In file included from /home/jonny/Make/ktorrent/build/ktorrent/ktorrent_automoc.cpp:2:
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp: In member function ‘virtual int kt::DBus::qt_metacall(QMetaObject::Call, int, void**)’:
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:98: error: variable ‘QStringList _r’ has initialiser but incomplete type
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:98: error: invalid useof incomplete type ‘struct QStringList’
/usr/include/qt4/QtCore/qstring.h:86: error: forward declaration of ‘struct QStringList’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:106: error: variable ‘QStringList _r’ has initialiser but incomplete type
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:106: error: invalid use of incomplete type ‘struct QStringList’
/usr/include/qt4/QtCore/qstring.h:86: error: forward declaration of ‘struct QStringList’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:112: error: expected type-specifier
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:112: error: expected `>'
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:112: error: expected `('
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:112: error: ‘TorrentInterface’ is not a member of ‘bt’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:112: error: expected primary-expression before ‘)’ token
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:113: error: expected type-specifier
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:113: error: expected `>'
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:113: error: expected `('
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:113: error: ‘TorrentInterface’ is not a member of ‘bt’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:113: error: expected primary-expression before ‘)’ token
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:114: error: expected type-specifier before ‘Group’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:114: error: expected `>' before ‘Group’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:114: error: expected `(' before ‘Group’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:114: error: ‘Group’ was not declared in this scope
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:114: error: expected primary-expression before ‘)’ token
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:115: error: expected type-specifier before ‘Group’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:115: error: expected `>' before ‘Group’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:115: error: expected `(' before ‘Group’
/home/jonny/Make/ktorrent/build/ktorrent/moc_dbus.cpp:115: error: expected primary-expression before ‘)’ token
make[2]: *** [ktorrent/CMakeFiles/ktorrent.dir/ktorrent_automoc.o] Error 1
make[1]: *** [ktorrent/CMakeFiles/ktorrent.dir/all] Error 2
make: *** [all] Error 2
jonny@supanova:~/Make/ktorrent/build$


Been looking through the forums, and I've got automoc and some QT 4.4 stuff I could find in synaptic after adding the intrepid ibex repositries.

Any clues as to what I should do now?
masterjonny
Registered Member
Posts
2
Karma
0

Sat Jun 28, 2008 11:47 am
Sorted it! I was just being a bit of a wally really :S

Used the SVN version assuming it was the same as the one in the .tar. Downloaded that and all went fine :D


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]