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

Howto: Install KTorrent 3.2 on KDE 3.5?

Tags: None
(comma "," separated)
stoeptegel
Registered Member
Posts
1075
Karma
0

Mon Feb 16, 2009 8:37 pm
Install these packages:
Code: Select all
build-essential(libc6-dev, libc-dev, g++, make) kdelibs5-dev libqca2-dev libgmp3-dev cmake automoc kdebase-workspace-dev libplasma-dev kdepimlibs libboost-dev


Unpack the source code, then do this:
Code: Select all
cd ktorrent
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
sudo make install


And see where that strands.(you might need some more packages, but i do not know this out of the top of my mind)
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Feb 18, 2009 6:17 pm
Sam wrote:
Do you need to fully uninstall ktorrent 2.2.x first? (And if so, How?)


Yes, but i have no clue how mandriva does this.

After not finding most of the above dependencies in Mandriva's Software update tool*, I finally stumbled across the package kde4-ktorrent (Version: 3.0.0-2mdv2008.1), which I'd hoped would install all the needed dependencies, but apparently no such luck. Whenever I launch ktorrent, I end up with version 2.2.7 and not version 3.


I cannot help you with this, i use sidux or kubuntu.

Any pointers? Or should I bag this as a lost cause?


Well, you should be able to find above packages in you repository, they might have a different name though.

*I found cmake, and kdelibs4-core, but never could resolve either:
"bash: kde4-config: command not found"
"Unknown CMake command "kde4_add_ui_files""

With the last error wandering off into something "plasma" and having to manually edit the cmake main header(?) file to fix.

FWIW: Mandriva tends to call "libXXX" "glibXXX." And I never did find anything called "build-essential," but I've compiled other things on this box (gee, ktorrent 2.x for one), so that shouldn't have been a problem.


I can only say: try to find help in the #mandriva channel on freenode.
artusek
Registered Member
Posts
10
Karma
0
OS

Wed Feb 18, 2009 8:02 pm
I am affraid, you will have to update system to Mandriva 2009.0
In Mandriva 2008.1, KDE3 is one of basic graphic environments. KDE4 may be also installed, but it is being installed in /opt/kde4/ directory. There are some problems with functionality and conflicts with KDE3.
My suggestion is:
Install mdv2009.0 and select KDE4 as basic environment. Make new install (not update) and don't let formatting your /home partition (to save collecetd data). After successfull installation, configure repositories (http://easyurpmi.zarb.org), update system and install as follows:
- kernel-desktop-devel respectively to current kernel-desktop with suggested (by installer) dependencies,
- task-kde3, if you want KDE3 as alternative to KDE4,
- task-kde4-devel, necessary to compile KDE4 apps,
- libgmp-devel, needed to compile KTorrent 3.x
Now you can try compiling KTorrent.
Compiling instructions you can find here in FAQ.
Briefly:
unpack tarball, go to ktorrent-3.x directory
Code: Select all
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
su
make install


After executing command:
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
read carefully all messages. It may happen you still miss a package. If it happen, install required package, with devel in its name and repeat cmake.

Regards,
Jerzy


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar