LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-27-2004, 09:45 PM   #1
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Rep: Reputation: 15
bittorrent wxPython nightmare


Hi All Ive been using slackware 10 for close to a year now, and ever since I first installed it I have made several attempts to install bittorrent. I always get the error wxpython is not installed or not installed properly. I have installed wxpython with slackpacks from the source and even tried several diferent rpm's. Im starting to wonder if anyones ever got bittorrent to work in slack. if anyone can help me I would greatly apreciate it
 
Old 12-28-2004, 12:43 AM   #2
nnsg
Member
 
Registered: Apr 2004
Distribution: Slackware 9.1/10.1, Mandrake 9.1/10.1
Posts: 75

Rep: Reputation: 15
Yes it's quite painful to setup all dependencies for BT... I suggest you download all necessary packages from this site:

http://linuxpackages.net/

If you are using Slackware, you should definitely bookmark this site.
 
Old 12-28-2004, 01:18 AM   #3
BM Fan
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 21

Original Poster
Rep: Reputation: 15
thats where i got the packages i tried
 
Old 12-28-2004, 02:55 AM   #4
nnsg
Member
 
Registered: Apr 2004
Distribution: Slackware 9.1/10.1, Mandrake 9.1/10.1
Posts: 75

Rep: Reputation: 15
So... what kind of error message are you getting?
 
Old 12-28-2004, 02:57 AM   #5
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
This might be out of date, but...
here is how i got mine working.

*****

download wxPythonSrc-2.5.28
extract wxPythonSrc-2.5.2.8
cd ~/wxPythonSrc-2.5.2.8
mkdir bld
cd bld
../configure --prefix=/opt/wx/2.5 --enable-rpath=/opt/wx/2.5/lib --with-gtk --with-opengl \ --enable-debug_flag --enable-optimize --enable-geometry --enable-sound --with-sdl \ --enable-display --enable-unicode
touch .make
vi .make
## edit:
make $* \
&& make -C contrib/src/gizmos $* \
&& make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" $* \
&& make -C contrib/src/stc $* \
&& make -C contrib/src/xrc $*
chmod +x .make
./.make
su
[password]
./.make install
vi /etc/profile
## edit:
add "/opt/wx/2.5/bin" to $PATH
vi /etc/ld.so.conf
## edit:
add "/opt/wx/2.5/lib"
ldconfig
cd ~/wxPythonSrc-2.5.2.8/wxPython
python setup.py WX_CONFIG=/opt/wx/2.5/bin/wx-config UNICODE=1 build_ext --inplace --debug
python setup.py WX_CONFIG=/opt/wx/2.5/bin/wx-config UNICODE=1 install

-----

# test it
python
import wxPython
^D
## if no errors then installation successful

-----

download BitTornado-0.3.7 [http://e.scarywater.net/bt/download/BitTornado-0.3.7.tar.gz]
extract BitTornado-0.3.7
cd ~/BitTornado-CVS
su
[password]
python setup.py install
vi /etc/mailcap
## edit:
change
application/x-bittorrent; /usr/bin/btdownloadxterm.sh '%s' ;
to
application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"
vi /usr/lib/python2.3/site-packages/BitTornado/ConfigReader.py
## edit:
change lines 40-41
from:
_CHECKINGCOLOR = ColorToHex(wxSystemSettings_GetColour(wxSYS_COLOUR_3DSHADOW))
_DOWNLOADCOLOR = ColorToHex(wxSystemSettings_GetColour(wxSYS_COLOUR_ACTIVECAPTION))
to:
_CHECKINGCOLOR = ColorToHex(wxColour(155,156,157))
_DOWNLOADCOLOR = ColorToHex(wxColour(1,1,1))

restart any browsers
 
Old 12-28-2004, 03:06 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I've never been able to get bittorrent and wxpython to play along nicely. After hours of frustration, I decided to use Azureus as the frontend for bittorrent.
 
Old 12-28-2004, 10:50 AM   #7
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
There is a Bittorrent package here:

ftp://ftp.slackware.com/pub/slackwar...ra/bittorrent/


No fancy gui but works straight out of Mozilla without a hiccup.
 
Old 12-28-2004, 11:39 AM   #8
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
I have always used bittorrent as coffeedrinker lists without a problem. I did always just download the torrent and then start btdownloadcurses.py from command line as I would pass --max_upload_rate 5 also. Otherwise I would upload but not download.
 
Old 12-28-2004, 02:37 PM   #9
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
ringwraith, actually I edited the bittorrent downloading files to change my bittorrent directory out of /home/me to a larger partition. I also added command line options there as well.
 
Old 12-28-2004, 03:28 PM   #10
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
You may be a more active bittorrent user than I am ;-) where is supranova when you need it.
 
Old 12-28-2004, 06:31 PM   #11
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
Actually, I've only used it a couple of times. Wasn't actually that pleased with the results.

I downloaded a Knoppix games cd when it was mentioned on /. a few days ago. Took a lot longer to download than I would have expected.
 
  


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
Bittorrent, suse 9.2 and wxpython krisealv SUSE / openSUSE 10 11-30-2004 01:41 PM
wxPython and BitTorrent problem dvm Linux - Software 1 11-30-2004 05:55 AM
Bittorrent can't find wxPython akudewan Linux - Newbie 6 11-18-2004 01:36 PM
Bittorrent Won't Find wxPython AFI_Flame Linux - Software 5 07-09-2004 03:32 PM
BitTorrent (wxPython) Problem redneon Linux - Software 0 08-07-2003 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:41 AM.

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