LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2007, 12:15 PM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Rep: Reputation: 30
install KTORRENT in Gnome??


Hi.
I'm trying to install in my gnome the latest version of KTORRENT, but if fails only because KDE isn't installed.

Quote:
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
Is there any way for me to install it without KDE ? How can I fix this message from ./configure??

Thanks.
 
Old 05-14-2007, 12:32 PM   #2
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Ktorrent is built for KDE so if you want to run it in Gnome you need all the KDE components required to run Ktorrent.

What distro are you using? Instead of installing using source try installing from your distros package manager, it will automatically resolve any dependency problems you have.



vxc
 
Old 05-14-2007, 12:48 PM   #3
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
I'm using Debian, but I want the latest version that isn't in my repositories. The latest version is the only one I can select and give priority to specific files inside a torrent. For exemple: Spiderman is 1 torrent with 4 files. CD1, CD2, TRASH and TRASH. I want to download CD1 with highest priority and don't download TRASHES.

Anyway, do you know what are the minimum packages from KDE needed for ktorrent don't complain about KDE? I have installed KDELIBS, KDELIBS4c2a, and KDELIBS-DATA. The only KDELIBS that remains is KDELIBS4-DEV (that has many dependencies), KDELIBS-DBG, some kdelibs bindings.
 
Old 05-14-2007, 01:21 PM   #4
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Sorry I don't know that. You could try solving the dependencies manually but then each dependency will have it's own dependencies.

You could try this though: Install Ktorrent from the repositories. Then remove just ktorrent and try compiling the newer ktorrent from source (there still might be problems not sure).

You could try azureus, I think it has the feature to set file download priorities and I believe all torrent clients can take over and continue previous downloads started by another client.



vxc
 
Old 05-14-2007, 01:24 PM   #5
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
I don't like azureus but thanks for the suggestion.

About install KTORRENT from the repository to get the dependencies, and did it. But, KTORRENT doesn't need any dependency that I wouldn't have already installed. When I selected KTORRENT no dependencies were selected together.

Even .configure from KTORRENT I have download just complains about the lack of KDE headers.

Take a look at this again:
Quote:
n the prefix, you've chosen, are no KDE headers installed. This will fail.
So, doesn't It seems it's just saying that I should run ./configure with some prefix to EXCLUDE the need of kde headers???? The dependencies for the program to run are all covered.

Last edited by doraimom; 05-14-2007 at 01:28 PM.
 
Old 05-14-2007, 01:42 PM   #6
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Not sure, but I think that error requires you to add something like --prefix=/usr/include/kde where /usr/include/kde is the location of the header files.

Try running "locate include | grep kde" and then use some of the dir's listed with the option above for ./configure.

Also try ./configure --help and check out the list of features you can enable/disable.


Hope this helps,
vxc
 
Old 05-14-2007, 01:46 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Don't know, maybe try installing kde-libs.
 
Old 05-14-2007, 01:51 PM   #8
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Quote:
Try running "locate include | grep kde" and then use some of the dir's listed with the option above for ./configure.
/usr/include/asm-i486/kdebug.h
/usr/include/asm-x86_64/kdebug.h
/usr/include/asm/kdebug.h
/usr/include/gtk-2.0/gtk/gtkdebug.h
/usr/include/linux/blkdev.h
/usr/include/linux/kdev_t.h
/usr/include/linux/lockdep.h
/usr/local/include/pidgin/gtkdebug.h
/usr/share/doc/kde/HTML/pt/scripts/man-fixincludes.1.docbook
/usr/share/doc/kde/HTML/pt_BR/scripts/man-fixincludes.1.docbook
/usr/src/linux-headers-2.6.18-4-686/include/asm-i386/kdebug.h
/usr/src/linux-headers-2.6.18-4-686/include/asm-x86_64/kdebug.h
/usr/src/linux-headers-2.6.18-4-686/include/config/lockdep
/usr/src/linux-headers-2.6.18-4-686/include/config/lockdep/support.h
/usr/src/linux-headers-2.6.18-4-686/include/linux/blkdev.h
/usr/src/linux-headers-2.6.18-4-686/include/linux/kdev_t.h
/usr/src/linux-headers-2.6.18-4-686/include/linux/lockdep.h
/usr/src/linux-headers-2.6.18-4/include/asm-i386/kdebug.h
/usr/src/linux-headers-2.6.18-4/include/asm-x86_64/kdebug.h
/usr/src/linux-headers-2.6.18-4/include/linux/blkdev.h
/usr/src/linux-headers-2.6.18-4/include/linux/kdev_t.h
/usr/src/linux-headers-2.6.18-4/include/linux/lockdep.h

I remind you, I don't use KDE. I didn't install it. The purpose here is to install KTORRENT in GNOME with no KDE.

Quote:
./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']

Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[the kde prefix]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]

By default, `make install' will install all the files in
`the kde prefix/bin', `the kde prefix/lib' etc. You can specify
an installation prefix other than `the kde prefix' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]

Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names

System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-fast-perl disable fast Makefile generation (needs perl)
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
--disable-debug disables debug output and debug symbols default=no
--enable-strict compiles with strict compiler options (may not
work!)
--disable-warnings disables compilation with -Wall and similar
--enable-profile creates profiling infos default=no
--disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency extractors
--enable-pch enables precompiled header support (currently only
KCC or gcc >=3.4+unsermake) default=no
--enable-coverage use gcc coverage testing
--enable-new-ldflags enable the new linker flags
--enable-final build size optimized apps (experimental - needs lots
of memory)
--enable-closure delay template instantiation
--enable-nmcheck enable automatic namespace cleanness check
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=no]
--enable-libsuffix /lib directory suffix (64,32,none,auto=default)
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-pie platform supports PIE linking default=detect
--enable-embedded link to Qt-embedded, don't use X
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
--enable-mac link to Qt/Mac (don't use X)
--disable-mt link to non-threaded Qt (deprecated)
--disable-threading disables threading even if libpthread found
--disable-rpath do not use the rpath feature of ld
--disable-path-check don't try to find out, where to install
--disable-largefile omit support for large files
--enable-memleak-check Enable memory leak checking
--enable-profile Enable profiling
--enable-geoip Enables GeoIP database installation
--enable-torrent-mimetype Enables the installation of the torrent mimetype which uses a KTorrent based icon

Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-tags[=TAGS] include additional configurations [automatic]
--with-extra-includes=DIR
adds non standard include paths
--with-extra-libs=DIR adds non standard library paths
--with-qt-dir=DIR where the root of Qt is installed
--with-qt-includes=DIR where the Qt includes are.
--with-qt-libraries=DIR where the Qt library is installed.
--without-arts build without aRts default=no

Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
F77 Fortran 77 compiler command
FFLAGS Fortran 77 compiler flags
XMKMF Path to xmkmf, Makefile generator for X Window System
PKG_CONFIG path to pkg-config utility
AVAHI_CFLAGS
C compiler flags for AVAHI, overriding pkg-config
AVAHI_LIBS linker flags for AVAHI, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Last edited by doraimom; 05-14-2007 at 01:54 PM.
 
Old 05-14-2007, 01:54 PM   #9
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Well, as long as you don't install at least the directly relevant KDE components, you're facing an impossible task. What's so difficult about doing that if you badly need ktorrent?
 
Old 05-14-2007, 01:56 PM   #10
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Quote:
Well, as long as you don't install at least the directly relevant KDE components, you're facing an impossible task. What's so difficult about doing that if you badly need ktorrent?
No No.. You misunderstood me.. I have no problem with that. I can install any relevant KDE component. I just can't install the entire KDE. I said before.. I had installed some KDELIBS.. etc etc.. I even asked if I were missing some libs. See??
The important here is to find exactly what you said! The relevant components. Just them.
Thanks

Last edited by doraimom; 05-14-2007 at 01:58 PM.
 
Old 05-14-2007, 02:04 PM   #11
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Well none of those dir's will contain the header files. This probably means you need KDE, even if you need just some of the components, to run ktorrent.

Also take a look at this thread.
I know it's about suse, but the dev packages they mention, try downloading those manually and untar them. Then point ./configure to look in those dir's for KDE headers. This might work might not.


EDIT: Also try installing those packages via apt, but then I doubt you can just install those packages without installing quite a bit more of KDE. Worth a try.

vxc

Last edited by vxc69; 05-14-2007 at 02:06 PM.
 
Old 05-14-2007, 02:10 PM   #12
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Wel.. The last kdelib package left is kdelibs4-dev with 34 dependencies. I'll install it now and see if ./configure still complains about anything.
 
Old 05-14-2007, 03:20 PM   #13
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
It worked!! ./configure asked me to install some GMP after the last kdelib mentioned. After that everything worked fine here in Gnome. Ktorrent is installed and has even appeared in the menu Aplications -> Internet.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you install KTorrent! triple-x Linux - Software 6 05-10-2007 11:57 AM
how to install Ktorrent in my Mandriva 2007 system invalid16940 Linux - Software 5 03-12-2007 01:03 PM
ktorrent install problems DiBosco Linux - Software 2 01-01-2007 07:07 AM
KTorrent Install Help... ./configure step fails. Prefix??? kimothy Linux - Newbie 4 10-16-2005 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration