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

Installing ktorrent on Gnome Debian

Tags: None
(comma "," separated)
BadCo.
Registered Member
Posts
3
Karma
0

Installing ktorrent on Gnome Debian

Thu Jul 19, 2007 6:08 am
Alright, I have spent the last three nights researching and trying to install ktorrent, with little luck.

I first tried to download a .deb package from here http://packages.debian.org/unstable/kde/ktorrent but recieved this problem

Code: Select all
# dpkg -i ktorrent_2.2.0.dfsg.1-1_i386.deb
Selecting previously deselected package ktorrent.
(Reading database ... 114793 files and directories currently installed.)
Unpacking ktorrent (from ktorrent_2.2.0.dfsg.1-1_i386.deb) ...
dpkg: dependency problems prevent configuration of ktorrent:
 ktorrent depends on kdelibs4c2a (>= 4:3.5.7-1); however:
  Version of kdelibs4c2a on system is 4:3.5.5a.dfsg.1-8.
 ktorrent depends on libc6 (>= 2.5-5); however:
  Version of libc6 on system is 2.3.6.ds1-13.
 ktorrent depends on libgcc1 (>= 1:4.2-20070516); however:
  Version of libgcc1 on system is 1:4.1.1-21.
 ktorrent depends on libstdc++6 (>= 4.2-20070516); however:
  Version of libstdc++6 on system is 4.1.1-21.
 ktorrent depends on zlib1g (>= 1:1.2.3.3.dfsg-1); however:
  Version of zlib1g on system is 1:1.2.3-13.
dpkg: error processing ktorrent (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ktorrent


and this one with a different deb package.

Code: Select all
# dpkg -i --force-overwrite ktorrent-dbg_2.2.0.dfsg.1-1_i386.deb
Selecting previously deselected package ktorrent-dbg.
(Reading database ... 115004 files and directories currently installed.)
Unpacking ktorrent-dbg (from ktorrent-dbg_2.2.0.dfsg.1-1_i386.deb) ...
dpkg: dependency problems prevent configuration of ktorrent-dbg:
 ktorrent-dbg depends on ktorrent (= 2.2.0.dfsg.1-1); however:
  Package ktorrent is not configured yet.
dpkg: error processing ktorrent-dbg (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ktorrent-dbg





After that I tried using the latest svn snapshot with checkinstall and got this.

Code: Select all
# checkinstall --fstrans=no --strip=no --stripso=no unsermake install

checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.

The checkinstallrc file was not found at:
/usr/local/lib/checkinstall/checkinstallrc

Assuming default values.


Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? D


*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values:

0 -  Maintainer: [ root@theblackbox ]
1 -  Summary: [ KTorrent is a BitTorrent program for KDE EOF ]
2 -  Name:    [ ktorrent-2007-07 ]
3 -  Version: [ 14 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ ktorrent-2007-07-14 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]

Enter a number to change any of them or press ENTER to continue: 1
Enter new summary:
>> KTorrent is a BitTorrent program for KDE

This package will be built according to these values:

0 -  Maintainer: [ root@theblackbox ]
1 -  Summary: [ KTorrent is a BitTorrent program for KDE ]
2 -  Name:    [ ktorrent-2007-07 ]
3 -  Version: [ 14 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ ktorrent-2007-07-14 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]

Enter a number to change any of them or press ENTER to continue:

Installing with unsermake install...

========================= Installation results ===========================
compiling /home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp
g++ -DHAVE_CONFIG_H -I./libktorrent/mse -I/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse -I. -I/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -fPIC -DPIC -c /home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp -o ./libktorrent/mse/.libs/bigint.o -Wp,-MD,./libktorrent/mse/.deps/bigint.TUlo
In file included from /home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:26:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.h:93: error: ‘mpz_t’ does not name a type
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(bt::Uint32)’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:36: error: ‘val’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:36: error: ‘mpz_init2’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(const QString&)’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:41: error: ‘val’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:41: error: ‘mpz_init2’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:42: error: ‘mpz_set_str’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In copy constructor ‘mse::BigInt::BigInt(const mse::BigInt&)’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:47: error: ‘val’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:47: error: ‘const class mse::BigInt’ has no member named ‘val’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:47: error: ‘mpz_set’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In destructor ‘virtual mse::BigInt::~BigInt()’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:52: error: ‘val’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:52: error: ‘mpz_clear’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In member function ‘mse::BigInt& mse::BigInt::operator=(const mse::BigInt&)’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:58: error: ‘val’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:58: error: ‘const class mse::BigInt’ has no member named ‘val’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:58: error: ‘mpz_set’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::powerMod(const mse::BigInt&, const mse::BigInt&, const mse::BigInt&)’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:65: error: ‘class mse::BigInt’ has no member named ‘val’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:65: error: ‘const class mse::BigInt’ has no member named ‘val’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:65: error: ‘mpz_powm’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In member function ‘bt::Uint32 mse::BigInt::toBuffer(bt::Uint8*, bt::Uint32) const’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:89: error: ‘val’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:89: error: ‘mpz_export’ was not declared in this scope
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: At global scope:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:86: warning: unused parameter ‘max_size’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::fromBuffer(const bt::Uint8*, bt::Uint32)’:
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:96: error: ‘class mse::BigInt’ has no member named ‘val’
/home/stevenh/source/ktorrent-2007-07-14/libktorrent/mse/bigint.cpp:96: error: ‘mpz_import’ was not declared in this scope
Error creating ./libktorrent/mse/bigint.lo. Exit status 1.

****  Installation failed. Aborting package creation.

Restoring overwritten files from backup...OK

Cleaning up...OK

Bye.


I'm stuck with ideas and have run into a dead end. Does anyone have any ideas? Everything is up to date on my system.
MoDaX
Registered Member
Posts
241
Karma
0
OS

Thu Jul 19, 2007 1:32 pm
You're using etch (stable) and the latest ktorrent (as deb package) is available only for unstable (unstable package is installable on testing too though). I'm going to do backport to etch one way or another once 2.2.1 is out (really soon if I'm not mistaken). I'll let you know.
BadCo.
Registered Member
Posts
3
Karma
0

Sat Jul 21, 2007 5:38 am
Hmm, didn't know you couldn't use unstable bits with stable bits. Yeah let me know when your port it, I'm getting sick of the current version crashing all the time.
MoDaX
Registered Member
Posts
241
Karma
0
OS

Tue Jul 24, 2007 12:37 am
BadCo.
Registered Member
Posts
3
Karma
0

Tue Jul 24, 2007 4:37 am
Wicked sheers for that. I'll try it out tonight and get back to you.


Bookmarks



Who is online

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