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

problem installing ktorrent

Tags: None
(comma "," separated)
emilie
Registered Member
Posts
5
Karma
0

problem installing ktorrent

Sat Apr 21, 2007 3:15 pm
hello!

Every time I try installing ktorrent this message show up:
tar: ktorrent-2.1.3.tar.gz: ne peut open: Aucun fichier ou répertoire de ce type
tar: Erreur non récupérable: fin de l'exécution immédiate
tar: Child returned status 2
tar: Statut d'erreur reporté d'erreurs précédentes.

what's the matter with the thing??
thanks!!
J
Registered Member
Posts
86
Karma
0

Sat Apr 21, 2007 4:46 pm
What command did you use to get those results? Are you sure that ktorrent-2.1.3.tar.gz actually exists in the location it should and you are referencing it correctly?

Using LANG="en" before the command might fix the french issue thou. :lol:


Thank you KTorrent developers! :)
_________________
"Thou shalt not steal." - STOP PIRACY NOW!
emilie
Registered Member
Posts
5
Karma
0

Sat Apr 21, 2007 4:57 pm
actually I am french...
this was the command I used: $ tar -xvzf ktorrent-2.1.3.tar.gz (that's the one the website recommends to use, isn't it?)
I am not sure of anything, I just followed the instructions given by the website, which means, I downloaded the code source (or source code I can't remember), saved it on my desktop (I have a mandriva 2007), and went to my konsole (I don't know the english name), and taped the command I quote above.
J
Registered Member
Posts
86
Karma
0

Sat Apr 21, 2007 5:23 pm
That likely means that you entered the command from a directory where the file you downloaded isn't present.

Anyway I think you don't need to install KTorrent from source code (unless you really have a good reason to really go through all that trouble). KTorrent should also be available via the Mandriva's package repository.

Just go to "Control Center" > "Software Management" and somewhere there you should be able to install KTorrent automatically (under an "Internet" or "File transfer" category perhaps). It might ask you the password of the root user on the way. I've never used Mandriva myself, but I'm sure you can find it there somewhere.


Thank you KTorrent developers! :)
_________________
"Thou shalt not steal." - STOP PIRACY NOW!
emilie
Registered Member
Posts
5
Karma
0

Sat Apr 21, 2007 5:46 pm
well, the problem is that it won't work from the control center and the version they offer are old versions (2.0.2 and 2.1). I tried 2.0.2 and it didn't work very well at all, it was very slow. And 2.1 won't even be downloaded when I try this is the message that show up:
first it say that the file can't be read because the packages have an incorrect signature, so I can either stop the installation at that stage, or go on with it if I do, this shows up:
Une erreur est survenue pendant l'installation des paquetages :

... échec de la récupération : curl failed: exited with 19 or signal 0

impossible d'installer le paquetage ftp://mandrake.cict.fr/Mandrakelinux/of ... 0.i586.rpm
impossible d'installer le paquetage ftp://mandrake.cict.fr/Mandrakelinux/of ... 0.i586.rpm
lucke
Registered Member
Posts
205
Karma
0

Sat Apr 21, 2007 6:11 pm
Open konsole and enter "wget http://ktorrent.org/downloads/2.1.3/kto ... 1.3.tar.gz" (if you don't have wget, install it with drake or whatever there is in mandriva). Then follow the instructions (tar, cd, configure, make, make install). Should work.

-edit-

You could try that: ftp://mandrake.cict.fr/Mandrakelinux/of ... 0.i586.rpm
emilie
Registered Member
Posts
5
Karma
0

Sat Apr 21, 2007 6:44 pm
ok thanks that waorked fine until:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
emilie
Registered Member
Posts
5
Karma
0

Sat Apr 21, 2007 6:47 pm
this is the whole thing:
I taped this: $ ./configure

and all this came out:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether gcc is blacklisted... no
checking whether g++ supports -Wmissing-format-attribute... no
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wno-non-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

after that make won't work:
$ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
lucke
Registered Member
Posts
205
Karma
0

Sat Apr 21, 2007 7:02 pm
Try the rpm I posted in my previous post.

It it doesn't work, install gcc-c++ (or gcc-cpp or similar) and try ./configure again.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar