Page 1 of 1

deluge 1.0.5 libtorrent problem

Posted: Tue Nov 11, 2008 1:35 pm
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.

Re: deluge 1.0.5 libtorrent problem

Posted: Tue Nov 11, 2008 3:11 pm
by johnnyg

Re: deluge 1.0.5 libtorrent problem

Posted: Tue Nov 11, 2008 4:29 pm
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. :|

Re: deluge 1.0.5 libtorrent problem [SOLVED]

Posted: Wed Nov 12, 2008 10:47 am
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 :)