deluge 1.0.5 libtorrent problem

General support for problems installing or using Deluge
Post Reply
duddits
New User
New User
Posts: 3
Joined: Tue Nov 11, 2008 1:29 pm

deluge 1.0.5 libtorrent problem

Post by duddits »

Hello everyone.

I'm trying to build deluge 1.0.5 on my Linux box and I encouter following problem:

Code: Select all

File "setup.py", line 297, in <module>
    ext_modules = [libtorrent],
NameError: name 'libtorrent' is not defined
What am I doing wrong or what else should be done before building deluge?

If you need more info about building environment I'll be happy to provide it.

TIA.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: deluge 1.0.5 libtorrent problem

Post by johnnyg »

duddits
New User
New User
Posts: 3
Joined: Tue Nov 11, 2008 1:29 pm

Re: deluge 1.0.5 libtorrent problem

Post by duddits »

Not exactly, as I'm not using Debian. But I believe I've got those libraries in my system.
Is there a way to somehow increase debugging so I could learn more from this error
message? Apparently the only thing setup dislike is this libtorrent module ... but
then again libtorrent sources are under ./libtorrent in src dir. :|
duddits
New User
New User
Posts: 3
Joined: Tue Nov 11, 2008 1:29 pm

Re: deluge 1.0.5 libtorrent problem [SOLVED]

Post by duddits »

Ok., maybe it will help someone.
I downloaded latest svn version of deluge and compared setup.py with 1.0.5 version.
After changing this line from:

Code: Select all

ext_module = [libtorrent],
to this:

Code: Select all

ext_module = _ext_module,
All went just fine :)
Post Reply