FAQ: Please read this first!

General support for problems installing or using Deluge
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

FAQ: Please read this first!

Post by andar »

The FAQ is on our main site, http://deluge-torrent.org/faq.php
Please, please please go there and read before posting for help. Otherwise you will be chastised :P We have a lot of stuff to do and we'd rather be programming instead of answering the same question over and over again.
Last edited by andar on Tue Jul 03, 2007 1:45 am, edited 2 times in total.
xio
New User
New User
Posts: 3
Joined: Sun Jun 17, 2007 1:39 pm

LFS installation

Post by xio »

Two tips about installation on LFS (for deluge-svn rev. 659):

1. If boost (version 1.33.1 for me) is compiled from sources, then it is necessary to make a symlink in include dir from 'boost-1_33_1/boost/' to 'boost', like this:

Code: Select all

blacksun-2 : root [~] # ln -s /usr/include/{boost-1_33_1/boost,boost}
blacksun-2 : root [~] # ll /usr/include/boost
lrwxrwxrwx 1 root root 31 2007-06-17 20:38 /usr/include/boost -> /usr/include/boost-1_33_1/boost/
2. Boost-1.33.1 installs '*-mt' libs with 'gcc' prefix:

Code: Select all

blacksun-2 : root [~] # paco -fx boost | grep gcc-mt.so
/usr/lib/libboost_date_time-gcc-mt.so
/usr/lib/libboost_filesystem-gcc-mt.so
/usr/lib/libboost_iostreams-gcc-mt.so
/usr/lib/libboost_prg_exec_monitor-gcc-mt.so
/usr/lib/libboost_program_options-gcc-mt.so
/usr/lib/libboost_python-gcc-mt.so
/usr/lib/libboost_regex-gcc-mt.so
/usr/lib/libboost_serialization-gcc-mt.so
/usr/lib/libboost_signals-gcc-mt.so
/usr/lib/libboost_test_exec_monitor-gcc-mt.so
/usr/lib/libboost_thread-gcc-mt.so
/usr/lib/libboost_unit_test_framework-gcc-mt.so
/usr/lib/libboost_wserialization-gcc-mt.so
, but deluge isn't aware of this:

Code: Select all

blacksun-1 : io [~/build/deluge] $ cat setup.py | grep -- -mt
        librariestype = ['boost_filesystem-mt', 'boost_date_time-mt',
                        'boost_thread-mt', 'z', 'pthread', 'ssl']
So in order to build deluge, we have to either make symlinks in /usr/lib or to modify setup.py file. I choose the second variant:

Code: Select all

blacksun-1 : io [~/build/deluge] $ sed -i s/-mt/-gcc-mt/g setup.py
blacksun-1 : io [~/build/deluge] $ cat setup.py | grep -- -mt
        librariestype = ['boost_filesystem-gcc-mt', 'boost_date_time-gcc-mt',
                        'boost_thread-gcc-mt', 'z', 'pthread', 'ssl']
3. Build process should now finish without errors.
shirish
Seeder
Seeder
Posts: 163
Joined: Fri May 25, 2007 4:01 am
Location: South Asia, India

Re: FAQ: Please read this first!

Post by shirish »

nicely compiled andar :)
Debian Sid, Intel Dual-Core, 512 kbps DL , 64 Kbps UL, deluge-1.3.5, pieces plugin, GNOME 3.4.x

All posts under creative commons http://creativecommons.org/licenses/by-nc/3.0/
marcus
Member
Member
Posts: 13
Joined: Mon Aug 06, 2007 9:31 am

Re: FAQ: Please read this first!

Post by marcus »

HI

I'm running PClinuxOS 2007 and I don't have Libboost-filesystem-dev. I've looked around and I don't seem to be able to find source code either.

I've installed all the Libboost systems from my repositories and the Install is still complaining the above is missing. Does it have a dfferent name or something. I have looked on boost.org, but there doesn't seem to be a seperate package for this there.

I want to upgrade from 5.3 (which is inmy repository) because it crashes without warning or notice at adhoc times, but its the best client I've come accross for Linux yet
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: FAQ: Please read this first!

Post by markybob »

marcus wrote:HI

I'm running PClinuxOS 2007 and I don't have Libboost-filesystem-dev. I've looked around and I don't seem to be able to find source code either.

I've installed all the Libboost systems from my repositories and the Install is still complaining the above is missing. Does it have a dfferent name or something. I have looked on boost.org, but there doesn't seem to be a seperate package for this there.

I want to upgrade from 5.3 (which is inmy repository) because it crashes without warning or notice at adhoc times, but its the best client I've come accross for Linux yet
you should go to pclinuxos's irc channel or forum and ask them. i havent the slightest idea what they call things there
stanks
New User
New User
Posts: 7
Joined: Mon Aug 27, 2007 5:59 pm

Re: FAQ: Please read this first!

Post by stanks »

$ rm ~/.config/deluge
You need to add -r, because you have to remove directory not file.
$ rm -r ~/.config/deluge
Montsegur87
Member
Member
Posts: 14
Joined: Fri Aug 03, 2007 12:20 am
Location: Buenos Aires , Argentina

Re: FAQ: Please read this first!

Post by Montsegur87 »

One dependecy to this guide is subversion itself , add subversion package.

Code: Select all

sudo apt-get install g++ python-all-dev python-all python-dbus python-gtk2 python-xdg python-support libboost-dev libboost-thread-dev libboost-date-time-dev libboost-filesystem-dev libboost-serialization-dev libssl-dev zlib1g-dev subversion
csulok

Re: FAQ: Please read this first!

Post by csulok »

how does one create a .deb package with the install commands? usually checkinstall does this for ubuntu, using c/c++ source codes, however i have little to no experience with python scripts.. is it different?
nepbabu.cx

Re: FAQ: Please read this first!

Post by nepbabu.cx »

On my Debian machine, deluge worked flawlessly. However on Ubuntu Feisty using Xfce, after 'make install' it showed problem. On close examination, the problem was:

Code: Select all

$ deluge
Traceback (most recent call last):
  File "/usr/bin/deluge", line 112, in <module>
    bus = dbus.SessionBus()
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 669, in __new__
    mainloop=mainloop)
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 293, in __new__
    mainloop=mainloop)
dbus.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
The problem occured because, somehow, session bus above (bus = dbus.SessionBus( ) ) couldn't be started and hence an exception 'dbus.DBusException: org.freedesktop.DBus.Error.NoReply' occured. To solve this, start deluge like this instead:

Code: Select all

$ dbus-launch deluge
and pray that it works. :-)
Dragoon

Re: FAQ: Please read this first!

Post by Dragoon »

...

The problem occured because, somehow, session bus above (bus = dbus.SessionBus( ) ) couldn't be started and hence an exception 'dbus.DBusException: org.freedesktop.DBus.Error.NoReply' occured. To solve this, start deluge like this instead:

Code: Select all

$ dbus-launch deluge
and pray that it works. :-)
Thanks! This worked for me.

Is there any chance of getting this fixed? Or do I have to remember to do this every time.
Post Reply