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

Anyone know the proper install path for SUSE 10.3 ??

Tags: None
(comma "," separated)
tkra
Registered Member
Posts
3
Karma
0
I managed to get ktorrent 2.2.4 compiled and working perfectly.

I have compiled and installed version 3 + kde4 about 8 times so far and I can't get the plugins working because I can't figure out where it's supposed to go. I'm finally at the point where it works as it's supposed to, and will run in user mode from a panel icon... but I think I have it residing in the wrong place.

This is where I am going wrong:
(I have tried)

cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 ..

cmake -DCMAKE_INSTALL_PREFIX=/usr/share/applications/kde4 ..


cmake -DCMAKE_INSTALL_PREFIX=/usr/share/applications/kde4/share/apps


Is it supposed to be as such????

cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ktorrent


I suspect this is a dumb mistake but right now I am totally confused. Everything else is working properly otherwise.

Any help is appreciated. It's just the location for SUSE 10.3 that is a mystery, nothing else. The exact cmake line is what I need to clarify.

Great program. Thanks.


Trevor
tkra
Registered Member
Posts
3
Karma
0

Wed Mar 19, 2008 9:41 pm
HOLY GOD IN HEAVEN I FIGURED IT OUT!!!!!

I was in despair, ktorrent 3 is incredible... but it wouldn't work right. I had the choice of the crippled SUSE without DHT or the plugins not working properly. I just couldn't figure it out.

Finally I examined the SUSE RPM for ktorrent 3, and discovered that the installation path to use is actually /usr

The instructions say this:
cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix/of/kde4/installation ..

For SUSE 10.3 I installed as such:
cmake -DCMAKE_INSTALL_PREFIX=/usr ..

The ktorrent binary was then installed into /usr/bin, and ktorrent 3 would start from the command line as a command.
Linux:~>ktorrent

For the first time since v2.2.4, everything is now working, including all the plugins. Hooray!

So I THINK I got it right... just as long as the earlier attempts to install didn't change something and factor into the success... At least it's working for me now.


SUCCESS FOR ME:

tar -xvjf ktorrent-3.0.0.tar.bz2
cd ktorrent-3.0.0
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/bin ..
make
sudo make install

Finding and installing all required libraries was kind of difficult, but I'm learning. This has got to be the best bittorrent client I have seen on any platform... but it doesn't exactly have a lot of instructions with it yet. I guess this the purpose of the forum. Anyway SOLVED!
tkra
Registered Member
Posts
3
Karma
0

Thu Mar 20, 2008 7:01 pm
Just to confirm...

My plugins were doubling up (duplicate plugin tabs) and crashing ktorrent 3... so I ripped out 4 incorrect installations and it seems to be working OK now, DHT and all.

I can say for sure if the this is the best/perfect/proper install location

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

for SUSE 10.3 but it seems to be working. (the others didn't work)

This probably would have been easy if I would have had a brain and started using Linux 12 years ago instead of less than 2.

I thought windows was a problem that would "go away by itself"... or that I didn't have time to switch out of... Well, someone from India is connected to ktorrent 3 right now so something must be working. I'm in Vancouver, Canada.
wodenickel
Registered Member
Posts
2
Karma
0

MY personal dumb error on this...

Thu Apr 10, 2008 2:39 pm
Also on SUSE 10.3
New to CMAKE method

THANK YOU for stating its "/usr"

MY good was that I didn't see the ".." at the end of the command!!! I kept trying and even read the help info.... finally realized something had to go after the DCMAKE.... stuff and finally squinted hard enough to see the two dots! LOL

Thanks to all for the help!! Its "make"ing now...

Mark
stoeptegel
Registered Member
Posts
1075
Karma
0

Thu Apr 10, 2008 4:42 pm
Here it says how one can find the install path.
http://ktorrent.org/forum/viewtopic.php?p=12888#12888

Maybe it' s wise to add this to the faq too.
s1oan
Registered Member
Posts
2
Karma
0

Wed Jul 30, 2008 9:44 am
Thank you so much for this how-to! :-D

I have openSuse 11 with kde 4.1 and I compiled and installed ktorrent following your instructions.

All I did was :
Uninstall any other version of ktorrent using Yast.
tar -xvjf ktorrent-3.1.1.tar.bz2
cd ktorrent-3.1.1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install

Now I have DHT!!! :-D
George
Moderator
Posts
5421
Karma
1

Wed Jul 30, 2008 4:27 pm
The easiest way to find out the prefix is to do this :

kde4-config --prefix

So you can do :

cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`..
stoeptegel
Registered Member
Posts
1075
Karma
0

Fri Aug 15, 2008 12:49 am
George wrote:The easiest way to find out the prefix is to do this :

kde4-config --prefix

So you can do :

cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`..


Make that
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..

So with an space between ' and ..


Bookmarks



Who is online

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