![]() Registered Member ![]()
|
Hello,
-Ubuntu 9.10. -I want to update to ktorrent 4.0.4. -Following the install instructions: http://ktorrent.org/?q=downloads -This command: sudo cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. -Gives no end of errors. Which can be fixed by installing appropriate dependencies/packages specified at: http://ktorrent.org/wiki/index.php/FAQ# ... _depend.3F NOTE: Installing of packages involves "System->Administration->Synaptic Package Manager" and locating all similar worded package names and installing those. -This link is also helpful and suggests using a 3rd party compiled ktorrent: viewtopic.php?f=2&t=3761 -This does not solve my issue (which should be added to the body of knowledge for others). -After the previous command terminates successfully, executing sudo make gives the following error: [ 0%] Built target ktorrent_automoc [ 0%] Building CXX object src/CMakeFiles/ktorrent.dir/util/functions.o /home/my_ktorrent/libktorrent-1.0.4/src/util/functions.cpp: In function ‘QString bt::BytesToString(bt::Uint64)’: /home/my_ktorrent/libktorrent-1.0.4/src/util/functions.cpp:257: error: no matching function for call to ‘KLocale::formatByteSize(bt::Uint64&, int)’ /usr/include/klocale.h:479: note: candidates are: QString KLocale::formatByteSize(double) const /home/my_ktorrent/libktorrent-1.0.4/src/util/functions.cpp: In function ‘QString bt::BytesPerSecToString(double)’: /home/my_ktorrent/libktorrent-1.0.4/src/util/functions.cpp:263: error: no matching function for call to ‘KLocale::formatByteSize(double&, int)’ /usr/include/klocale.h:479: note: candidates are: QString KLocale::formatByteSize(double) const make[2]: *** [src/CMakeFiles/ktorrent.dir/util/functions.o] Error 1 make[1]: *** [src/CMakeFiles/ktorrent.dir/all] Error 2 make: *** [all] Error 2 Any ideas on why I receive this error? kind regards, Ian Gregory, Sydney. |
![]() Moderator ![]()
|
Your KDE version is to old, you need at least 4.4
|
![]() Registered Member ![]()
|
Thanks George, I was suspecting this.
NOTE: All I am trying to do. Is get the current KTorrent stable release version 4.0.4 to work. -How can I install KDE libraries ver >=4.4? WHERE I AM AT: -In Ubuntu: I use GNOME 2.28.1. (System->About GNOME) with GDM. -I wish to keep GDM and would like to avoid a bulky system (but probably can´t avoid it now). -(KDE ver4.5 being the latest stable). Available from: http://www.kde.org/info/4.5.2.php. -The Synaptic package manager has the individual package binaries of 4.4.2. -I have gone through the above list and manually selected the packages for install in Synaptic (1GB after install). -There are 3rd party (user contributed binaries) available at: http://download.kde.org/binarydownload. ... ble/4.4.4/ But I avoided these. -I did the above installs because: -In KTorrent: It says KTtorrent version is 3.2.4 (Help->KTorrent). -In KTorrent: It says KDE 4.3.2 (Help->About KDE). It also says 4.3.2 in (konqueror and dolphin). -However, after the install (and a reboot to be safe), these applications still say a KDE of 4.3.2?? -And the same error still exists when executing "make". kindest regards, Ian. |
![]() Registered Member ![]()
|
I haven't met such problem, but all I can suggest are few. Very agree with the following opinions:
Note: the installation kits include "> >" management system - synaptic package manager "and positioning for all similar wording package name and installation. This url also to have the help very much, and suggested using third-party compile ktorrent: Viewtopic. PHP Fahrenheit = 2 & tons = 3761 |
![]() Registered Member ![]()
|
Thanks!
-I have kTorrent working on Ubuntu 10.10 now. -What I have ended up doing is replacing my system from Karmic Koala (9.10) to 10.10. -This wasn't really by choice. -After trying extremely hard to get kTorrent to compile by installing various packages/upgrades. I ended up 'breaking Ubuntu' somehow in all the upgrades. -I tried rescuing the system but needed a complete reinstall. -On Ubuntu 10.10. The installation instructions work with no hassles. That is: For Stable KDE4 version : Download: ktorrent-4.0.4.tar.bz2 and libktorrent-1.0.4.tar.bz2 sudo apt-get install build-essential kdesdk kdelibs5-dev libqca2-dev libgmp3-dev subversion cmake automoc kdebase-workspace-dev libboost-dev kdepimlibs5-dev libtag1-dev python-kde4 kdelibs5-dev libgeoip-dev tar -xvjf libktorrent-1.0.4.tar.bz2 cd libktorrent-1.0.4.tar.bz2 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. make sudo make install Compiling and installing ktorrent: tar -xvjf ktorrent-4.0.4.tar.bz2 cd ktorrent-4.0.4.tar.bz2 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. make sudo make install -If anyone is interested. I can upload the many steps I tried to get 9.10 to work but ended up breaking Ubuntu 9.10 trying to get kTorrent to work. kind regards, Ian. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]