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

KTorrent 3.3.4 released

Tags: None
(comma "," separated)
George
Moderator
Posts
5421
Karma
1

KTorrent 3.3.4 released

Sun Feb 07, 2010 6:17 pm
A new bugfix release for KTorrent is available, this fixes a couple of crashes, a sorting bug in the choker (which should improve seeding a lot), and a problem where the global max share ratio and seed time could override group settings.
imported4-WarlocK
Registered Member
Posts
4
Karma
0

Re: KTorrent 3.3.4 released

Fri Feb 12, 2010 8:51 pm
When i try to compile it, i am getting this error:
Code: Select all
Scanning dependencies of target ktmediaplayerplugin
[ 63%] Building CXX object plugins/mediaplayer/CMakeFiles/ktmediaplayerplugin.dir/ktmediaplayerplugin_automoc.o
In file included from /opt/ktorrent-3.3.4/build/plugins/mediaplayer/moc_videowidget.cpp:10,
                 from /opt/ktorrent-3.3.4/build/plugins/mediaplayer/ktmediaplayerplugin_automoc.cpp:9:
/opt/ktorrent-3.3.4/build/plugins/mediaplayer/../../../plugins/mediaplayer/videowidget.h:70: error: ISO C++ forbids declaration of ‘VideoWidget’ with no type
/opt/ktorrent-3.3.4/build/plugins/mediaplayer/../../../plugins/mediaplayer/videowidget.h:70: error: invalid use of ‘::’
/opt/ktorrent-3.3.4/build/plugins/mediaplayer/../../../plugins/mediaplayer/videowidget.h:70: error: expected ‘;’ before ‘*’ token
make[2]: *** [plugins/mediaplayer/CMakeFiles/ktmediaplayerplugin.dir/ktmediaplayerplugin_automoc.o] Error 1
make[1]: *** [plugins/mediaplayer/CMakeFiles/ktmediaplayerplugin.dir/all] Error 2
make: *** [all] Error 2
imported4-WarlocK
Registered Member
Posts
4
Karma
0

Re: KTorrent 3.3.4 released

Fri Feb 12, 2010 9:05 pm
i am getting the same problem when i try to compile KTorrent 3.3.3. Maybe i do something wrong?
imported4-Erik
Registered Member
Posts
28
Karma
0

Re: KTorrent 3.3.4 released

Fri Feb 12, 2010 10:51 pm
Same exact error thing for me with KDE 4.4.0 and Kubuntu 9.10. Ktorrent 3.3.3 installed for me before though, but that was with older KDE.
imported4-WarlocK
Registered Member
Posts
4
Karma
0

Re: KTorrent 3.3.4 released

Fri Feb 12, 2010 11:37 pm
yes, i have the same OS and desktop environment
George
Moderator
Posts
5421
Karma
1

Re: KTorrent 3.3.4 released

Sat Feb 13, 2010 5:53 pm
Had the same problem when I upgraded to KDE 4.4.0 with kubuntu.

For some reason the upgrade of the phonon headers went wrong, I managed to fix this by doing:

sudo apt-get install --reinstall libphonon-dev
imported4-WarlocK
Registered Member
Posts
4
Karma
0

Re: KTorrent 3.3.4 released

Sat Feb 20, 2010 10:34 am
George
it didn't solved my problem :(
George
Moderator
Posts
5421
Karma
1

Re: KTorrent 3.3.4 released

Sat Feb 20, 2010 3:11 pm
WarlocK wrote:George
it didn't solved my problem :(


Try a completely clean build after the reinstall of the phonon headers.
User avatar
CyborgAlpha
Registered Member
Posts
12
Karma
0
OS

Re: KTorrent 3.3.4 released

Sun Feb 28, 2010 4:38 am
I'm on Kubuntu Karmic (9.10) & KDE 4.4 , I had a similar build problem

Code: Select all
ch3@ch4:~/Desktop/download/ktorrent/ktorrent-3.3.4/build$ make                 
Scanning dependencies of target btcore_automoc                                 
Generating movedatafilesjob.moc                                                 
Generating uploader.moc                                                         
Generating chunkmanager.moc                                                     
Generating autorotatelogjob.moc                                                 
Generating tracker.moc                                                         
Generating server.moc                                                           
Generating task.moc                                                             
Generating kbucket.moc                                                         
Generating torrentinterface.moc                                                 
Generating udptracker.moc                                                       
Generating rpcserver.moc                                                       
Generating peer.moc                                                             
Generating httpconnection.moc                                                   
Generating waitjob.moc                                                         
Generating streamsocket.moc                                                     
Generating dhttrackerbackend.moc                                               
Generating peerdownloader.moc                                                   
Generating udptrackersocket.moc                                                 
Generating authenticate.moc                                                     
Generating chunkdownload.moc                                                   
Generating peersource.moc                                                       
Generating dhtbase.moc                                                         
Generating webseed.moc                                                         
Generating peermanager.moc                                                     
Generating encryptedauthenticate.moc                                           
Generating exitoperation.moc                                                   
Generating rpccall.moc                                                         
Generating torrentfileinterface.moc                                             
Generating peersourcemanager.moc                                               
Generating torrentcontrol.moc                                                   
Generating encryptedserverauthenticate.moc                                     
Generating socks.moc                                                           
Generating httptracker.moc                                                     
Generating downloader.moc                                                       
Generating dht.moc                                                             
Generating serverauthenticate.moc                                               
Generating piecedownloader.moc                                                 
Generating node.moc                                                             
Generating torrentfile.moc                                                     
Generating authenticatebase.moc                                                 
Generating moc_deletedatafilesjob.cpp                                           
Generating moc_httpannouncejob.cpp                                             
Generating moc_logsystemmanager.cpp                                             
Generating moc_jobqueue.cpp                                                     
Generating moc_cachefile.cpp                                                   
Generating moc_trackermanager.cpp                                               
Generating moc_compressfilejob.cpp                                             
Generating moc_preallocationjob.cpp                                             
Generating moc_extractfilejob.cpp                                               
Generating moc_reverseresolver.cpp                                             
Generating moc_decompressfilejob.cpp                                           
Generating moc_datacheckerjob.cpp                                               
Generating moc_job.cpp                                                         
[  0%] Built target btcore_automoc                                             
Scanning dependencies of target btcore                                         
[  0%] Building CXX object libbtcore/CMakeFiles/btcore.dir/btcore_automoc.o     
[  0%] Building CXX object libbtcore/CMakeFiles/btcore.dir/util/bitset.o       
[  0%] Building CXX object libbtcore/CMakeFiles/btcore.dir/util/timer.o         
[  0%] Building CXX object libbtcore/CMakeFiles/btcore.dir/util/urlencoder.o   
[  0%] Building CXX object libbtcore/CMakeFiles/btcore.dir/util/sha1hashgen.o   
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:22:20: error: QtCrypto: No such file or directory                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:38: error: ‘Initializer’ in namespace ‘QCA’ does not name a type             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In constructor ‘bt::SHA1HashGen::SHA1HashGen()’:                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:44: error: ‘isSupported’ is not a member of ‘QCA’                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:45: error: ‘isSupported’ is not a member of ‘QCA’                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:51: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:53: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In destructor ‘bt::SHA1HashGen::~SHA1HashGen()’:                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:60: warning: possible problem detected in invocation of delete operator:     
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:60: warning: invalid use of incomplete type ‘struct QCA::Hash’               
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: warning: forward declaration of ‘struct QCA::Hash’                         
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:60: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In member function ‘bt::SHA1Hash bt::SHA1HashGen::generate(const bt::Uint8*, bt::Uint32)’:                                                                   
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:68: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:69: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In member function ‘void bt::SHA1HashGen::update(const bt::Uint8*, bt::Uint32)’:                                                                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:240: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In member function ‘bt::SHA1Hash bt::SHA1HashGen::get() const’:             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:378: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
make[2]: *** [libbtcore/CMakeFiles/btcore.dir/util/sha1hashgen.o] Error 1       
make[1]: *** [libbtcore/CMakeFiles/btcore.dir/all] Error 2                     
make: *** [all] Error 2
Knut
Registered Member
Posts
79
Karma
0

Re: KTorrent 3.3.4 released

Sun Feb 28, 2010 1:21 pm
CyborgAlpha wrote:I'm on Kubuntu Karmic (9.10) & KDE 4.4 , I had a similar build problem

Code: Select all
 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:22:20: error: QtCrypto: No such file or directory
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:38: error: ‘Initializer’ in namespace ‘QCA’ does not name a type                             

You need to install qca-dev/libqca-dev or whatever it's called on Kubuntu.

Perhaps you should remove the CMakeCache and see if CMake detects it?
This ought to be detected by CMake(George?).
User avatar
CyborgAlpha
Registered Member
Posts
12
Karma
0
OS

Re: KTorrent 3.3.4 released

Mon Mar 01, 2010 5:45 am
Knut wrote:
CyborgAlpha wrote:I'm on Kubuntu Karmic (9.10) & KDE 4.4 , I had a similar build problem

Code: Select all
 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:22:20: error: QtCrypto: No such file or directory
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:38: error: ‘Initializer’ in namespace ‘QCA’ does not name a type                             

You need to install qca-dev/libqca-dev or whatever it's called on Kubuntu.

Perhaps you should remove the CMakeCache and see if CMake detects it?
This ought to be detected by CMake(George?).


Yea - but no -- but better

Code: Select all
[  0%] Built target btcore_automoc                                         
[  0%] Building CXX object libbtcore/CMakeFiles/btcore.dir/util/sha1hashgen.o
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:22:20: error: QtCrypto: No such file or directory                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:38: error: ‘Initializer’ in namespace ‘QCA’ does not name a type             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In constructor ‘bt::SHA1HashGen::SHA1HashGen()’:                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:44: error: ‘isSupported’ is not a member of ‘QCA’                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:45: error: ‘isSupported’ is not a member of ‘QCA’                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:51: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:53: error: invalid use of incomplete type ‘struct QCA::Hash’                 
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’                           
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In destructor ‘bt::SHA1HashGen::~SHA1HashGen()’:                             
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:60: warning: possible problem detected in invocation of delete operator:
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:60: warning: invalid use of incomplete type ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: warning: forward declaration of ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:60: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In member function ‘bt::SHA1Hash bt::SHA1HashGen::generate(const bt::Uint8*, bt::Uint32)’:
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:68: error: invalid use of incomplete type ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:69: error: invalid use of incomplete type ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In member function ‘void bt::SHA1HashGen::update(const bt::Uint8*, bt::Uint32)’:
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:240: error: invalid use of incomplete type ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp: In member function ‘bt::SHA1Hash bt::SHA1HashGen::get() const’:
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:378: error: invalid use of incomplete type ‘struct QCA::Hash’
/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.h:29: error: forward declaration of ‘struct QCA::Hash’
make[2]: *** [libbtcore/CMakeFiles/btcore.dir/util/sha1hashgen.o] Error 1
make[1]: *** [libbtcore/CMakeFiles/btcore.dir/all] Error 2
make: *** [all] Error 2
Knut
Registered Member
Posts
79
Karma
0

Re: KTorrent 3.3.4 released

Mon Mar 01, 2010 11:58 am
CyborgAlpha wrote:Yea - but no -- but better


Ok, yea to what.
Did you only remove CMakeCache.txt?
Or did you also install the QCA development files?
User avatar
CyborgAlpha
Registered Member
Posts
12
Karma
0
OS

Re: KTorrent 3.3.4 released

Mon Mar 01, 2010 4:21 pm
Knut wrote:
CyborgAlpha wrote:Yea - but no -- but better


Ok, yea to what.
Did you only remove CMakeCache.txt?
Or did you also install the QCA development files?


yes to all

QCA had been installed, but one library wasn't installed. Before posting (initially) there was a new install of 4.4 and a full install of kdevelop and qt4. As well, I found I had to add the boost & qca libraries. However, the install did not install all the qca libraries - one was missed. As per your suggestion I went back, logged what was installed and what was left to be installed - and it was only one library.

if you look at the differences between the code errors posted (and the 1st that wasn't) there is a progressive improvement. I'm (we - due to your help) closer to a successful compile and install.

btw - yea is as in happy not annoyed, or flippant.
User avatar
CyborgAlpha
Registered Member
Posts
12
Karma
0
OS

Re: KTorrent 3.3.4 released

Mon Mar 01, 2010 4:55 pm
Rechecked lib installed, and added qt3 (in addition to qt4). Compilation issue now just surrounds;

sha1hashgen.o;

sha1hashgen.cpp & sha1hashgen.h

/home/ch3/Desktop/download/ktorrent/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp & .h


Bookmarks



Who is online

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