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

LinuxMint freezes when I start ktorrent

Tags: None
(comma "," separated)
slope
Registered Member
Posts
30
Karma
0

Wed Jan 23, 2008 11:11 pm
Ooops. This is what you get when you plunder with things that you do not know :lol:

I made the changes in the sources list just like you had, nad then tried to update. Ended not good. Something got removed something updated. But ktorrent must maybe been reinstalled? I still use version 2.1 it says. But anymore I can not even get an option to upgrade to 2.2.4 in synaptic.

What changes did I actually make here?
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Jan 29, 2008 1:40 pm
The problem is that you're mixing gutsy and feisty in your sources.list. Change the backport(there already was a commented out section with #) back to feisty by removing your addition and a few #'s.
Guffen
Registered Member
Posts
55
Karma
0

Tue Jan 29, 2008 3:21 pm
May I also recommend that you try "normal" Ubuntu, or preferably Kubuntu?
http://kubuntu.org/ :D
slope
Registered Member
Posts
30
Karma
0

Mon Feb 04, 2008 5:07 am
Guffen wrote:May I also recommend that you try "normal" Ubuntu, or preferably Kubuntu?
http://kubuntu.org/ :D


At the moment it is not an option to switch to Kubuntu. I am sure hammering ktorrent into shape will succeed. :D
slope
Registered Member
Posts
30
Karma
0

Mon Feb 04, 2008 5:08 am
stoeptegel wrote:The problem is that you're mixing gutsy and feisty in your sources.list. Change the backport(there already was a commented out section with #) back to feisty by removing your addition and a few #'s.


Thx stoeptegel. I will try those changes when I get back tonight. :wink:
slope
Registered Member
Posts
30
Karma
0

Different Approach

Wed Feb 06, 2008 7:17 pm
I belive the time has come to try out something new. I have spent many hours trying to iron out the issues but somehow I can not update ktorrent. It is all here in the thread :-)

My thought today is to go for the latest release and compile it to work with Linux Mint and Gnome and not KDE. But for that to work my freinds I will need help from ou good people here.

Downloadsection @ ktorrent.org wrote:Downloads for KDE4

KTorrent 3.0rc1

* Source code : http://ktorrent.org/downloads/3.0rc1/kt ... c1.tar.bz2

How to compile

Compiling KTorrent for KDE4 is slightly different :
tar -xvjf ktorrent-3.0rc1.tar.bz2
cd ktorrent-3.0rc1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix/of/kde4/installation ..
make
sudo make install

You will need to install cmake and all the necessary development packages (Qt,KDE,libgmp,QCA2), to get it compiled properly.


Is there anyone that could give me help telling me what to write in the terminal to compile this latest version of ktorent?

Is there any other applications I need in order to get ktorrent to work? (dependencies)

I really need help here cause it is obvious I am in way over my head here, and I would really like to get it to work properly.

Thx u all
George
Moderator
Posts
5421
Karma
1

Wed Feb 06, 2008 7:41 pm
Try this :

sudo apt-get build-dep ktorrent-kde4
wget http://ktorrent.org/downloads/3.0rc1/kt ... c1.tar.bz2
tar -xvjf ktorrent-3.0rc1.tar.bz2
cd ktorrent-3.0rc1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 ..
make
sudo make install
slope
Registered Member
Posts
30
Karma
0

Thu Feb 07, 2008 6:18 am
Ok thx george.
Do I unerstand correct if it will now also install KDE 4? That will actually be neat.
I will give this a go when I am back from work tonite.
George
Moderator
Posts
5421
Karma
1

Thu Feb 07, 2008 6:53 pm
You will need the KDE4 libraries, you don't need the whole desktop.
slope
Registered Member
Posts
30
Karma
0

Thu Feb 07, 2008 8:40 pm
Aaaggghhhh. Still struggles here :evil:
Now that I try your tip george I get this:
"Update SOME webadresses your sources.list"

If I only knew which ones....I did add a url for the fresh ktorrent.
And somehow that worked.

But life in the fast lane is never easy, so troubles strucked me once more.

Error msg from terminal:

Code: Select all
oregano@oregano-laptop:~$ cd ktorrent-3.0rc1

oregano@oregano-laptop:~/ktorrent-3.0rc1$ mkdir build

oregano@oregano-laptop:~/ktorrent-3.0rc1$ cd build

oregano@oregano-laptop:~/ktorrent-3.0rc1/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 ..

-- Check for working C compiler: /usr/bin/gcc

-- Check for working C compiler: /usr/bin/gcc -- broken

CMake Error: The C compiler "/usr/bin/gcc" is not able to compile a simple test program.

It fails with the following output:

 /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

make[1]: Entering directory `/home/oregano/ktorrent-3.0rc1/build/CMakeFiles/CMakeTmp'

/usr/bin/cmake -E cmake_progress_report /home/oregano/ktorrent-3.0rc1/build/CMakeFiles/CMakeTmp/CMakeFiles 1

Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o

/usr/bin/gcc   -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o   -c /home/oregano/ktorrent-3.0rc1/build/CMakeFiles/CMakeTmp/testCCompiler.c

/home/oregano/ktorrent-3.0rc1/build/CMakeFiles/CMakeTmp/testCCompiler.c:4:19: error: stdio.h: No such file or directory

/home/oregano/ktorrent-3.0rc1/build/CMakeFiles/CMakeTmp/testCCompiler.c: In function ‘main’:

/home/oregano/ktorrent-3.0rc1/build/CMakeFiles/CMakeTmp/testCCompiler.c:12: warning: incompatible implicit declaration of built-in function ‘printf’

make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1

make[1]: Leaving directory `/home/oregano/ktorrent-3.0rc1/build/CMakeFiles/CMakeTmp'

make: *** [cmTryCompileExec/fast] Error 2





CMake will not be able to correctly generate this project.

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

-- Configuring done

oregano@oregano-laptop:~/ktorrent-3.0rc1/build$ make

make: *** No targets specified and no makefile found.  Stop.

oregano@oregano-laptop:~/ktorrent-3.0rc1/build$ sudo make install

stoeptegel
Registered Member
Posts
1075
Karma
0

Fri Feb 08, 2008 5:09 pm
Do you have build-essential installed?
Tanktalus
Registered Member
Posts
67
Karma
0
OS

Fri Feb 08, 2008 5:20 pm
So, it's probably a bad idea to suggest switching to gentoo? ;-)


Bookmarks



Who is online

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