LinuxQuestions.org
Review your favorite Linux distribution.
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 02-25-2005, 10:07 PM   #1
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Rep: Reputation: 30
can't get qtorrent to run


hello there, yes it's me again... I have yet another problem. I promise I'll pay you all back by helping out in the future as much as you all do now hey, at least I'm learning stuff, right?

I downloaded qtorrent and installed it, but when I run the binary, I get the following:
Code:
bash-2.05b$ pwd
/usr/local/bin/qtorrent-0.9.5
bash-2.05b$ ls
LICENSE.txt  MANIFEST  PKG-INFO  pyqtorrent  qtorrent  setup.py
bash-2.05b$ ./qtorrent
Traceback (most recent call last):
  File "./qtorrent", line 10, in ?
    from qt import QApplication
ImportError: No module named qt
bash-2.05b$
I emailed the developers, and they said I needed to install the PyQt package... so I did... then I tried again and got the same error.
 
Old 02-26-2005, 02:45 AM   #2
valerie_tux
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 150

Rep: Reputation: 15
This is the first link I found when I googled to find some answers. Hope this helps
http://mats.imk.fraunhofer.de/piperm...ly/008172.html
And surely there are many more.
 
Old 02-26-2005, 06:36 AM   #3
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
Where would sys.path and PYTHON_PATH be located? I ran searches on my machine, but they turned up 0 results.
 
Old 02-26-2005, 07:33 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
----------
Where would sys.path and PYTHON_PATH be located?
----------

i think you have to set them like :

export PYTHON_PATH=$"<path-to-python>"

egag
 
Old 02-27-2005, 08:16 AM   #5
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
I exported the PYTHON_PATH, and still got the same error. Did some searching around on Google, and many results said I needed to install PyQt. Downloaded PyQt, and can't install it unless SIP is installed first... so I downloaded SIP. "python configure.py" runs fine, but then as soon as I run "make", I get the following:
Code:
make[1]: Entering directory `/root/sip-4.2/sipgen'
make[1]: `sip' is up to date.
make[1]: Leaving directory `/root/sip-4.2/sipgen'
make[1]: Entering directory `/root/sip-4.2/siplib'
g++ -c -pipe -fPIC -O2 -w -DSIP_QT_SUPPORT -DQT_NO_DEBUG -I. -I/usr/include/python2.3 -I/usr/lib/qt/include -I/usr/X11R6/include -o qtlib.o qtlib.cpp
In file included from /usr/include/stdio.h:674,
                 from /usr/include/python2.3/Python.h:28,
                 from qtlib.cpp:15:
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:52: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [qtlib.o] Error 1
make[1]: Leaving directory `/root/sip-4.2/siplib'
make: *** [all] Error 2
So far, between qtorrent, nvidia drivers, and mplayer, errors/suggestions have gotten me to reinstall kernel-source, kernel-modules, glibc, python, and qt. Now I need to install SIP, so I can install PyQt, but SIP won't install! hehe. I'd love to just burn Slackware 10.1 (running 10.0) and reinstall the whole bit, but A) I'm learning a lot this way that I wouldn't have learned if I just reinstalled, and B) the wife would kill me (all she remembers is the full week of me trying out different distros to see which one I wanted to go with, plus the hassle of setting up her bookmarks, address list, etc.)
 
Old 02-27-2005, 03:22 PM   #6
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
decided to try ctorrent instead, and get this during "make":
Code:
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:52: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [bencode.o] Error 1
make[1]: Leaving directory `/home/josh/ctorrent-1.3.2'
make: *** [all] Error 2
 
Old 02-28-2005, 12:47 PM   #7
valerie_tux
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 150

Rep: Reputation: 15
Try Azureus. Its Java based Bit-Torrent Application. It also has a version which works with GTK widgets. No compiling. Just make sure java is running on ur system. If you put the java path right, it'll work just fine.

Thinking again.. you must be tired of "paths" by now.

Valerie
 
Old 02-28-2005, 01:57 PM   #8
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
haha, yeah... I did end up trying azureus and it works. I was just hoping to try one of the apps that use less resources.
 
Old 12-06-2005, 10:58 PM   #9
borromini
Member
 
Registered: Jul 2005
Location: Belgium
Distribution: Zenwalk 2.8
Posts: 35

Rep: Reputation: 15
You need QT... Do you run KDE? Bindings are worth nothing if you haven't got the two base packages... Python & QT.
 
Old 12-06-2005, 11:52 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You could try the official bittorrent client or bittornado that are on extra/
 
  


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
qtorrent error FeckMyFecker Linux - Software 1 09-02-2005 03:54 PM
Qtorrent settings Liakoni Linux - Software 0 06-13-2005 03:31 AM
Cannot get NVIDIA-Linux-x86_64-1.0-6629-pkg2.run to run properly doctorwebbox Linux - Hardware 0 02-06-2005 06:18 AM
Not able to run audio Cds (not MP3) and run VCDS.. satish427 Linux - Newbie 4 09-24-2004 11:27 PM
Java applets run fine in Konqueror, but won't run in MS IE. OAnimal Linux - Software 7 12-04-2002 06:32 AM

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

All times are GMT -5. The time now is 05:00 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