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

KTorrent Configure (cpp problem?)

Tags: None
(comma "," separated)
johndoe32102002
Registered Member
Posts
35
Karma
0

KTorrent Configure (cpp problem?)

Sun Feb 10, 2008 6:35 am
./configure is seen below:

...
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

username@COMPUTER:~/Desktop/ktorrent-2.2.5$ sudo apt-get install cpp
[sudo] password for username:
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpp is already the newest version.

I currently have KTorrent 2.2.1 installed and it is working fine. I am using KDE3, and tried to install KDE4, but it failed (wanted KTorrent 3.0Beta). Is there a debian version of KTorrent 2.2.4 released? If not, what can I do to properly configure KTorrent 2.2.4?

Thanks,
John


My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com
johndoe32102002
Registered Member
Posts
35
Karma
0

Sun Feb 10, 2008 1:59 pm
I got a similar error with cmake when trying to compile KTorrent 3.0Beta with KDE3:

cmake -DCMAKE_INSTALL_PREFIX=/etc/kde3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error: The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a simple test program.
It fails with the following output:


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


My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com
Athantor
Registered Member
Posts
45
Karma
0

Sun Feb 10, 2008 8:06 pm
You need this or this.


Image Image
johndoe32102002
Registered Member
Posts
35
Karma
0

Sun Feb 10, 2008 10:58 pm
I downloaded the build essential package, which I was lacking, but the *.deb file (for my i386) would not install.

username@COMPUTER:~/Desktop$ sudo apt-get install ktorrent*
Reading package lists... Done
Building dependency tree
Reading state information... Done
ktorrent is already the newest version.
E: Couldn't find package ktorrent_2.2.4.dfsg.1-1_i386.deb

username@COMPUTER:~/Desktop$ sudo dpkg --install ktorrent*.deb
(Reading database ... 110688 files and directories currently installed.)
Preparing to replace ktorrent 2.2.1-0ubuntu3 (using ktorrent_2.2.4.dfsg.1-1_i386.deb) ...
Unpacking replacement ktorrent ...
dpkg: dependency problems prevent configuration of ktorrent:
ktorrent depends on kdelibs4c2a (>= 4:3.5.8-1); however:
Version of kdelibs4c2a on system is 4:3.5.8-0ubuntu2.
ktorrent depends on libgeoip1 (>= 1.3.17); however:
Package libgeoip1 is not installed.
dpkg: error processing ktorrent (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ktorrent

I will try to make the 2.2.4 version again with the build-essential package installed.


My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com
johndoe32102002
Registered Member
Posts
35
Karma
0

Sun Feb 10, 2008 11:03 pm
The build-essential ./configure failed at this point:

...
checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!


My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com
Athantor
Registered Member
Posts
45
Karma
0

Sun Feb 10, 2008 11:57 pm
johndoe32102002 wrote:I downloaded the build essential package, which I was lacking, but the *.deb file (for my i386) would not install.


Because 2.2.4 is packaged only for „lenny” and uses packages in version not availible in your debian release (which, I assume, is older than lenny — etch maybe?).

johndoe32102002 wrote:The build-essential ./configure failed at this point:


You need at least these things.

Maybe you should try ubuntu?


Image Image
MoDaX
Registered Member
Posts
241
Karma
0
OS

Mon Feb 11, 2008 1:39 am
KTorrent 2.2.4 for etch is available at:

http://alioth.debian.org/~modax-guest/ktorrent-etch/

I didn't bother to update it for 2.2.5 but maybe I'll do this later. If you want 3.0, you need kde4libs which is available in unstable and lenny. Packaged ktorrent 3.0rc1+ is available in experimental as of yesterday but you will need to upgrade to unstable (sticking with lenny currently might not be sufficient but rebuilding should solve installability problem if you badly want ktorrent 3.0) to install it. There is never going to be a backport of ktorrent 3.0 to etch. It wouldn't be possible without backporting tons of other stuff and therefore it's not worth the effort!
johndoe32102002
Registered Member
Posts
35
Karma
0

Thu Feb 14, 2008 11:07 am
I never said I was using Debian. I am actually using the latest version of Ubuntu. There is no greater version of KTorrent than 2.2.1 in the Ubuntu repositories. KDE4 just became available in the official Ubuntu repositories. I will see if installing those packages helps me build either 2.2.5 or 3.0 from source. Are any of these versions out for Ubuntu in *.deb packages?


My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com
johndoe32102002
Registered Member
Posts
35
Karma
0

Thu Feb 14, 2008 12:30 pm
KDE4 didn't help. Of course reinstalling the required dependencies didn't help because they are the same dependencies for the KTorrent version in the Ubuntu repository: 2.2.1. I still get this error when trying to ./configure KTorrent 2.2.5:

checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!

I reinstalled the required X library on http://packages.debian.org/source/lenny/ktorrent and still no luck.


My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com
MoDaX
Registered Member
Posts
241
Karma
0
OS

Thu Feb 14, 2008 1:23 pm
johndoe32102002 wrote:I reinstalled the required X library on http://packages.debian.org/source/lenny/ktorrent and still no luck.

If you're using Ubuntu, why are you installing packages from Debian? Don't do this, you'll eventually break your system.
Athantor
Registered Member
Posts
45
Karma
0

Thu Feb 14, 2008 5:22 pm
johndoe32102002 wrote:I never said I was using Debian.


Is there a debian version of KTorrent 2.2.4 released?


Why would anyone want to install debian packages if he's not using debian?

If you still want to compile you need install these things.

Or, if you want to install packages like real h4xor ;-), add gutsy backports repo, get pkgs list from it, and then install in ubuntu way (apt-get or synaptic or whatever).


Image Image


Bookmarks



Who is online

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