LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack 9 and Bittorrent (https://www.linuxquestions.org/questions/slackware-14/slack-9-and-bittorrent-68455/)

Synth218 06-27-2003 10:10 AM

Slack 9 and Bittorrent
 
ok for the longest time now ive been trying to get bittorrent to work on my slack machine but i dont know i tried to follow the directions that it came with but that got me really confused because it wanted me to mess with my python file n i did but i only ended up messing up my python file dose anyone have a simply set of instructions for me??? it would really be helpful. i would just download the rpm but whenver i try to install an rpm the rpm package manager i dunno what it dose but most of the time it just dosn't work any help would be really useful

contrasutra 06-27-2003 11:40 AM

First, you convert rpms to Slackware TGZ files using "rpm2tgz [filename].rpm"


Could you post the errors you get. Being vague wont help us.

Synth218 06-27-2003 12:53 PM

its not that im getting errors its just that i follow the directions but nothing happens and it just dosn't work so i figure i must be doing something wrong

contrasutra 06-27-2003 02:00 PM

Well, unless you tell us exactly what your doing, we can't help you. We're not psychic.

gonzalo 06-27-2003 02:16 PM

did you install wxPythonGTK? it's a must if you want to use the graphic download.
to test it, try to run btdownloadgui.py in your BitTorrent directory from the console.

Synth218 06-27-2003 02:41 PM

ok here are the install directions that it gives u:
/*************************************************************************************
install Python, version 2.0 or later - http://python.org/

install wxPython - http://wxpython.org/

(under debian, you can currently get the above using
apt-get install libwxgtk2.2-python
from testing and use python 2.1)

untar and put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in.

application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"

You may have to restart your web browser for it to start
using BitTorrent.

If you're using a web browser which doesn't respect
/etc/mailcap you can go into the mimetype configuration for
your web browser and manually associate application/x-bittorrent
with btdownloadgui.py (with the appropriate path, of course.)
************************************************************************/
i followed everythign thing as best i could but i got lost cause its talking bout debian well im not using debian n i tried to set the mimtype in netscape because thats the browser im using but still nothing so any advice right now im installing hte latest version of python and reinstalling wxpython. then i'll see where it goes from there

Synth218 06-27-2003 02:45 PM

oh and one more thing when i try n conver the wxpython from rpm to tgz it says
/********************************************
Synth@Blue:~/Desktop$ rpm2tgz wxPythonGTK-py2.2-2.4.1.2-1.i385.rpm
... rpm2cpio failed. (maybe wxPythonGTK-py2.2-2.4.1.2-1.i385.rpm is not an RPM?)
Synth@Blue:~/Desktop$
******************************************/
any suggestions???

gonzalo 06-27-2003 03:37 PM

so, you didn't install it? then thats your problem.
download the sources that matches your python version, or another rpm.

Synth218 06-27-2003 03:41 PM

thats what i did but the last time i installed it i didn't have this problem when iwas turnign the rpm into a tgz

Synth218 06-27-2003 03:42 PM

nvm figured out the problem w/ wxpython i was trying to install the i586 i needed the src

Synth218 06-27-2003 05:26 PM

ok im having some major problems getting wxPython installed it only comes in rpm format and even after i change it to a tgz and i do configure, make install and all that iits like no where to be found on my system and when i tried to test it like gonzalo by trying to run btdownloadgui.py from the konsole it dind't work it said it coudln't find wxPython... so this is starting to get irritatng can anyone help me

contrasutra 06-27-2003 06:50 PM

you use "./configure,make,makeinstall" to compile SOURCE. RPMs are BINARIES. They are already compiled.

#To install an RPM in Slackware:

"rpm2tgz [filename].rpm"
It will generate a .tgz file
"su"
"installpkg [filename].tgz"

But there is a native wxPython package at linuxpackages.net I believe.

Synth218 06-27-2003 08:58 PM

Quote:

Originally posted by contrasutra
you use "./configure,make,makeinstall" to compile SOURCE. RPMs are BINARIES. They are already compiled.

#To install an RPM in Slackware:

"rpm2tgz [filename].rpm"
It will generate a .tgz file
"su"
"installpkg [filename].tgz"

But there is a native wxPython package at linuxpackages.net I believe.

thats what i did but like it didn't install anything i'll do it over agian and post the results and i jus checked linuxpackages.net they didnt' have it

Synth218 06-27-2003 09:15 PM

/**************************************************************
Synth@Blue:~/Desktop$ rpm2tgz wxPythonGTK-py2.2-2.
4.1.2-1.src.rpm

Synth@Blue:~/Desktop$ dir
AOL\ Instant\ Messenger\ (SM).desktop
BitTorrent-3.2.1b/
Home
Kazaa\ Lite.desktop
Netscapemessenger.desktop@
Trash/
myStuff/
netscape.desktop@
wxPythonGTK-py2.2-2.4.1.2-1.src.rpm
wxPythonGTK-py2.2-2.4.1.2-1.src.tgz
xmms.desktop@
Synth@Blue:~/Desktop$ su
Password:
root@Blue:/home/Synth/Desktop# installpkg wxPython GTK-py2.2-2.4.1.2-1.src.tgz
Installing package wxPythonGTK-py2.2-2.4.1.2-1.src ...
PACKAGE DESCRIPTION:

root@Blue:/home/Synth/Desktop#
**************************************************************************/

k that shows everything from when i transfer the file from a rpm to tgz to when i try to install it see like i said nothign happens it just says package descriptioon then it stops there??? i duno its getting annoying well any help or input would be appricated

contrasutra 06-27-2003 09:26 PM

you downloaded a source RPM, not a binary. Thats your problem.

You have to use a binary rpm and convert it. It should have a .i386, .i586,etc,in it. And it would have no .src.


All times are GMT -5. The time now is 11:17 AM.